Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-07
1
Medium Priority
?
174 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 60

Accepted Solution

by:
Kevin Cross earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

972 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