F
Frédéric H
Hi,
When I access for the first time of the day to an application developped
with .NET 2.0 (SP1) I have
to wait about 30 seconds to get a response. After that the application page
runs quickly (<1 second). After an IISRESET (command) I got the same problem
(first load=slow, after=quick).
I tested that with a simple application that displayed a hello world. So the
test focused on the
server scope and not on SQL server perfs, remote server perfs or something
else.
I have searched over the net for an explanation or to get "best practices"
and I found some advices :
1. Precompile application
(http://msdn.microsoft.com/en-us/library/ms228015.aspx)
2. Set retail="true" in your machine.config
3. Set debug=false in web.config
But nothing can help.
Someone has an idea ?
Config : We use IIS 6.0 / ASP.NET 2.0 / Win 2003 Server R2 / Xeon E5440
2.83Ghz / 3.75RAM
When I access for the first time of the day to an application developped
with .NET 2.0 (SP1) I have
to wait about 30 seconds to get a response. After that the application page
runs quickly (<1 second). After an IISRESET (command) I got the same problem
(first load=slow, after=quick).
I tested that with a simple application that displayed a hello world. So the
test focused on the
server scope and not on SQL server perfs, remote server perfs or something
else.
I have searched over the net for an explanation or to get "best practices"
and I found some advices :
1. Precompile application
(http://msdn.microsoft.com/en-us/library/ms228015.aspx)
2. Set retail="true" in your machine.config
3. Set debug=false in web.config
But nothing can help.
Someone has an idea ?
Config : We use IIS 6.0 / ASP.NET 2.0 / Win 2003 Server R2 / Xeon E5440
2.83Ghz / 3.75RAM