IIS 7.5, how to check if Auto-Start is working?

I hosted my asp.net mvc3 app on amazon ec2 cloud using Windows Server 2008 R2. The first page load is very slow. I decided to enable autoplay in IIS 7.5.

I followed Scott's post. http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx

I only have one web application hosted on this server and this application got its own application pool, not shared.

That's all I did, add startMode = "AlwaysRunning".  

here's the hte problem. I see performance getting slightly better, but still around 4-5 seconds.

Is there a way to check if my autoplay is working?

+3


source to share


1 answer


If you have access to IIS Manager in the field, you can examine "Workflows" for the site. Otherwise, look for a process named w3wp.exe. If you only have one site, this should be the only process.

Try to stop the application and confirm that the workflow is stopped. Now run the application without prompting. If the process is there, autorun works.



EDIT: Slides 11 and 12 from http://www.slideshare.net/brianritchie1/iis-alwayson-services might be helpful.

+2


source







All Articles