H
headware
It appears that if the worker process is recycled by IIS, that
Application_Start is not called again until the next request comes in.
Is there any way to get this to happen automatically right after the
process is recycled without relying on a request from a user?
The basic story behind this is that we have a thread that is created
in Application_Start and it's supposed to run constantly over the life
of the application. The user does not want to set up the app pool so
that the worker process is never recycled. Is there any way around
this? We could create some kind of dummy client that requests a page
from the app every so often but I was hoping that there would be a
more elegant solution.
Thanks,
Dave
Application_Start is not called again until the next request comes in.
Is there any way to get this to happen automatically right after the
process is recycled without relying on a request from a user?
The basic story behind this is that we have a thread that is created
in Application_Start and it's supposed to run constantly over the life
of the application. The user does not want to set up the app pool so
that the worker process is never recycled. Is there any way around
this? We could create some kind of dummy client that requests a page
from the app every so often but I was hoping that there would be a
more elegant solution.
Thanks,
Dave