Dusan Czupek's blog

Blog related .NET & web development

Speed up ASP.NET page/control loading

Often you find yourself waiting after you made changes in code behind. Delay during first page load has to do with code compilation. With simple modification of web.config you can speed up this process a bit. Main issue is that ASP.NET engine by default compiles all files in folder where you page is place. But you can tell to engine that you are interested only current page and it is related controls/components etc. Do simple change:

Under <configuration><system.web> you can find <compile> element if it does not exists create it. In <compilation> element specify attribute batch with value false.

Changed part of your web.config should looks like:

<compilation batch="false">


Shout it
Posted: May 20 2009, 08:30 by dczupek | Comments (14) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: dotNet

Comments

DotNetShoutout said:

trackbackSpeed up ASP.NET page/control loading

Thank you for submitting this cool story - Trackback from DotNetShoutout

# August 20 2009, 12:46

payday loans United States said:

payday loansWe are a group of volunteers and starting a new initiative in a community. Your blog provided us valuable information to work on.You have done a marvellous job!

# September 22 2009, 00:25

canadian online pharmacy United States said:

canadian online pharmacyI am prettyhappy as I have found for the post for years.

# October 04 2009, 14:20

DotNetBurner - ASP.net said:

trackbackSpeed up ASP.NET page/control loading

DotNetBurner - burning hot .NET content

# October 28 2009, 18:27

WebDevVote.com said:

trackbackSpeed up ASP.NET page/control loading

You are voted (great) - Trackback from WebDevVote.com

# October 28 2009, 18:27

Leflunomide United States said:

LeflunomideReading your post was a relief, it answered many coding questions I had. I'm stuck to computer, programming and leflunomide becuase of arthritis

# December 05 2009, 00:28

citizens of humanity United Kingdom said:

citizens of humanityInteresting post I hope you dont mind if I link to it from my news blog.

# December 10 2009, 00:12

Yachtcharter Griechenland United States said:

Yachtcharter GriechenlandThanks for such a nice blog post....i was searching for something like that.

# December 11 2009, 14:08

auto insurance United States said:

auto insuranceExcellent read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that: Thanks for lunch!

# December 14 2009, 01:24

Craft Shows United States said:

Craft ShowsThanks for a sharing this articles. That's very interesting.  

# December 15 2009, 07:59

Craft Fairs United States said:

Craft FairsThat is really very good article. I am glad to know. Thanks!

# December 15 2009, 11:23

business opportunities United States said:

business opportunitiesAdmiring the time and effort you put into your blog and detailed information you offer!

# December 24 2009, 09:33

fashion clothes United Kingdom said:

fashion clothesVery good and detailed post there OP. Apprecaiate the time you put into this.

# January 11 2010, 14:42

rebel yell clothing line United Kingdom said:

rebel yell clothing lineGreat write up - Thank you for sharing.

# January 22 2010, 15:38

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading