asp.net - Run Web service as windows service -


i've got 1 silly question, forgot right words explain:

how build web service (asp.net) runs on server non-stop, doing windows service? background worker, or should use timer ?

though doesn't make complete sense have web service automatic continuous stuff w/o being called, this:

  1. host service in wcf.
  2. when service host started, start timer based event , work in task.
  3. have appropriate error handling.
  4. this ensures web service available servicing client requests.

if #4 not valid, rethink web service , have windows service.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -