Windows Services (!Web Services), ASP.NET and RPC

Hi
I am creating a system that allows users to log into a web site and record video from a web cam. As part of its functionality it should allow recordings to be scheduled so they start at a certain time and date. The system should be asynchronous and not require a user to be logged into the web site.

My proposed solution was to use a Windows Service and and ASP.NET web site. All the proposed system components will be on the same machine.

The website should remotely call a function in the windows service to schedule a time and date(i.e. add the time and date to some sort of queue).

1. Is the solution I propose logical
2. Achievable
3. Can someone point me in the direction of some documentation
4. Should I be looking at webservices instead

The more I search the net, the more confusing this seems to be.

I would be greatful for any help anyone can provide.
Many Thanks
Kris Jones




Answer this question

Windows Services (!Web Services), ASP.NET and RPC

  • andy_pondy

    You are indeed on the right track.

    1. Yes
    2. Yes
    3. MSDN
    4. Webservices or ASPX does not matter you need to have some long running service like an windows service to kick off the tasks you need to kick off.
    One thing you could do is to use Windows Scheduler so that you don;t need to write
    your own.

    Your aspx can communicate with the windows service through sockets or some other means.



  • tomax7

    You asked for documentation. The best place to start is with the V2.0 framework docs which are here: http://msdn2.microsoft.com/default.aspx

  • mganss

    You have to see a webservice like a webpage which returns a xml file.
    I don't think you'll need it when everything run's on the same machine.



  • Windows Services (!Web Services), ASP.NET and RPC