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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -