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:
- host service in wcf.
- when service host started, start timer based event , work in task.
- have appropriate error handling.
- this ensures web service available servicing client requests.
if #4 not valid, rethink web service , have windows service.
Comments
Post a Comment