Preload .NET Runtime when IIS starts
am 11.04.2008 13:39:31 von m.stroblSTOPSPAM
Hi!
Is it possible to configure IIS in a way that the .NET Runtime is getting
loaded when the IIS service starts?
Currently we have the problem that the first request to an ASP.NET
application is very slow because IIS has to load .NET Runtime at this point.
We're using IIS6.0 on W2003 Servers.
Thanks a lot for any hint!
Markus
RE: Preload .NET Runtime when IIS starts
am 11.04.2008 16:07:03 von Chaitanya
Hi,
I guess no option available, also .Net runtime are always remain loaded at
C:\WINNT\assembly the initial delay is because of initialization of
application process w3wp.exe when the first HTTP request comes.
--
Regards,
Chaitanya
"news.microsoft.com" wrote:
> Hi!
>
> Is it possible to configure IIS in a way that the .NET Runtime is getting
> loaded when the IIS service starts?
>
> Currently we have the problem that the first request to an ASP.NET
> application is very slow because IIS has to load .NET Runtime at this point.
>
> We're using IIS6.0 on W2003 Servers.
>
> Thanks a lot for any hint!
>
> Markus
>
>
>
Re: Preload .NET Runtime when IIS starts
am 11.04.2008 16:25:02 von richard.markiewicz
On Apr 11, 10:07 am, Chaitanya shah wrote:
> Hi,
>
> I guess no option available, also .Net runtime are always remain loaded at
> C:\WINNT\assembly the initial delay is because of initialization of
> application process w3wp.exe when the first HTTP request comes.
>
> --
> Regards,
> Chaitanya
>
> "news.microsoft.com" wrote:
> > Hi!
>
> > Is it possible to configure IIS in a way that the .NET Runtime is getting
> > loaded when the IIS service starts?
>
> > Currently we have the problem that the first request to an ASP.NET
> > application is very slow because IIS has to load .NET Runtime at this point.
>
> > We're using IIS6.0 on W2003 Servers.
>
> > Thanks a lot for any hint!
>
> > Markus
The easy answer is to request a page from the application after
starting the service. Should be easy enough to make an HTTP request in
a script and just run it after restarting IIS?
Richard