Pragmatic Prose
Friday, October 19, 2007
Speed up ASP.NET Web Site Build Time in Visual Studio 2005
The one thing that irks me about compiled code is the compilation tax. It takes a while to re compile everything even if there is only a small change in a page or class.
Here are some tips to reduce those build times.
http://weblogs.asp.net/bradleyb/archive/2005/12/06/432441.aspx
I have to say that it certainly seems faster after I've used these tips.
One improvement I have made is to not debug using Visual Studio. I simply start app and stop it right away. I then just browse to my web site with another browser instance and test that way. The development web server will just sit there running and serving up content.
I find this way that I use logging much more than debugging. Of course, there are some problems where debugging just can't be beat but those instances are few and far between.
This method works really once especially if you have seperate assemblies for each page/folder.
I find that I only build the whole site if I make signifigant structural changes to the site like renaming classes.
In the end, faster edit, test, debug cycles are what we are after. We want the advantages of a dynamic language without the penalites.
ASP.NET
Friday, October 19, 2007 2:24:38 PM (Central Standard Time, UTC-06:00)
Comments [0]
Name
E-mail
Home page
Remember Me
Comment (HTML not allowed)
Enter the code shown (prevents robots):
© Copyright 2008 Chris Weber
Theme design by
Bryan Bell
newtelligence dasBlog 1.9.6264.0
| Page rendered at Tuesday, October 07, 2008 2:00:01 AM (Central Standard Time, UTC-06:00)
On this page....
<
October 2008
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
Search
Navigation
Home
newtelligence AG
dasBlog
SourceForge
Scott Hanselman
Omar Shahine
Categories
ASP.NET
biz
Books
C#
Design
firefox
General
Greasemonkey
hacks
Hardware
Implementation
Java
javascript
Languages
Laszlo
Money
organization
personal
PowerShell
Productivity
Prometheus
Python
Ruby
Ruby on Rails
SOA
SocioEcon
SQL
Tools
Web
Windows
Blogroll
Healthy Reader
Pop Therapy
Slippery Brick
The Art of Ware
Wealthy Reader
What's your 20
Sign In