Preload .NET Runtime when IIS starts

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
m.stroblSTOPSPAM [ Fr, 11 April 2008 13:39 ] [ ID #1940443 ]

RE: Preload .NET Runtime when IIS starts

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
>
>
>
Chaitanya [ Fr, 11 April 2008 16:07 ] [ ID #1940452 ]

Re: Preload .NET Runtime when IIS starts

On Apr 11, 10:07 am, Chaitanya shah <Chaita... [at] hotmail.com> 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
richard.markiewicz [ Fr, 11 April 2008 16:25 ] [ ID #1940454 ]
Webserver » microsoft.public.inetserver.iis » Preload .NET Runtime when IIS starts

Vorheriges Thema: changing App Pools
Nächstes Thema: help