Solved

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

Posted on 2008-10-07
1
167 Views
Last Modified: 2010-04-14
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
Comment
Question by:purplesoup
1 Comment
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 500 total points
ID: 22664742
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

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question