Solved

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

Posted on 2008-10-07
1
165 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now