Reputation: 1624
I've got one silly question, as I forgot right words to explain:
How to build a web service (ASP.NET) which runs on the server non-stop, much like doing a Windows service? Is it a background worker, or should I use some timer for this ?
Upvotes: 0
Views: 846
Reputation: 9489
Though it doesn't make complete sense to have a web service do automatic continuous stuff w/o being called, do this:
if #4 is not valid, then rethink web service and just have a windows service.
Upvotes: 1
Reputation: 1178
The web service also runs non-stop. The main difference between the two is based upon the manner in which they are accessed. Windows service does not require any user-intervention. The web service runs non-stop, and is invoked through a request via some protocol, mostly tcp/http and other protocols.
Refer this
Upvotes: 1