Hi SAL,
As other members mentioned, for ASP.NET 2.0 web application, you can
perform precompilation on your web app so as to gain performance
improvement as precompiled application do not need additional dynamic page
code generation time. However, there are still startup time for
JIT-compiling .NET code into native code. For your scenario, if there is
no other particular long-run task at initialize time(such as the
application_Start event...), the startup slow should be caused by JIT
compile. How often will you notice this problem? I know that ASP.NET will
shutdown worker process after it hasn't been visited for a while. And you
can configure it to never shutdown through the following means:
** for IIS5 hosted scenario, you need to modify the <processModel> element
in machine.config , see:
#Keeping Your ASP.NET Worker Processes Alivehttp://weblogs.asp.net/dmarsh/archive/2003/02/21/2758.aspx
** for IIS6, since it use application pool for each application virutal
dir, you need to turn off the shutdown setting in application pool setting.
You can find it in the "performance" tab:
"shutdown worker process after being idle for xxxxxx time"
also see "Idle timeout" in below reference:
#Configure Application Pool Performance (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Librar...
d3f37b8-c7ef-4a9c-9b78-eba9412181d8.mspx?mfr=true
Here is also a good aritlce on IIS worker process recycle:
http://blogs.msdn.com/david.wang/archive/2006/02/07/ASP-Startup-Shutd...
malies-on-IIS6.aspx
Hope it also helps some.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer tohttp://msdn.microsoft.com/subscriptions/managednewsgroups/default.asp...
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) athttp://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.