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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -