Is there any way to configure IIS to automatically start an ASP.Net
application when IIS starts/restarts?

Re: Automatically start ASP.Net Application on IIS Start by David

David
Thu Jun 29 02:00:58 CDT 2006

It depends on what you mean by "start an ASP.Net application".

If you want the application to load into memory, then make a request to the
application to trigger the loading.

IIS has no "feature" to automatically make such a request to preload the
application.

You can script a tool like TINYGET from the IIS6 Resource Kit to make the
request, and wrap your own service startup/shutdown logic around it as
customization yourself.

And if this is IIS6, you shouldn't be restarting IIS6 anyway.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"Bill Blondin" <BillBlondin@discussions.microsoft.com> wrote in message
news:7DA17B40-1D56-4D61-990B-5ECBD2E55496@microsoft.com...
> Is there any way to configure IIS to automatically start an ASP.Net
> application when IIS starts/restarts?



Re: Automatically start ASP.Net Application on IIS Start by BillBlondin

BillBlondin
Thu Jun 29 08:26:02 CDT 2006

Thanks for the reply. I didn't believe that it was possible.

The goal is to have the ASP.Net application recover and continue in the
event of a server reboot, without the need for a client request to trigger
the event, as the server components will have the capacity to work indepent
of client requests (to process queues, or execute background jobs, etc.).

Thanks again.

"David Wang [Msft]" wrote:

> It depends on what you mean by "start an ASP.Net application".
>
> If you want the application to load into memory, then make a request to the
> application to trigger the loading.
>
> IIS has no "feature" to automatically make such a request to preload the
> application.
>
> You can script a tool like TINYGET from the IIS6 Resource Kit to make the
> request, and wrap your own service startup/shutdown logic around it as
> customization yourself.
>
> And if this is IIS6, you shouldn't be restarting IIS6 anyway.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
>
> "Bill Blondin" <BillBlondin@discussions.microsoft.com> wrote in message
> news:7DA17B40-1D56-4D61-990B-5ECBD2E55496@microsoft.com...
> > Is there any way to configure IIS to automatically start an ASP.Net
> > application when IIS starts/restarts?
>
>
>