• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

How do I prevent the first asp.net page loading slowly?

After I start IIS the very first page to load on my website takes about five minutes (I think because the JIT compiler has to run through and compile all the assemblies, and I guess some other initialisation work is performed).

Is there a way to get this initialisation to occur automatically without the first visitor to the site experiencing this problem?
0
purplesoup
Asked:
purplesoup
1 Solution
 
Kevin CrossChief Technology OfficerCommented:
You can precompile code if you are using Visual Studio full edition.  I have not gotten my express editions to do this, but maybe I haven't looked hard enough. :)

http://msdn.microsoft.com/en-us/library/aa479044.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now