Speed up ASP.NET 2.0 build... Possible?

  • Thread starter Thread starter ThunderMusic
  • Start date Start date
T

ThunderMusic

Hi,

Is it possible to speed up the build for ASP.NET 2.0 apps? Each time I
click build (or play for debug), it takes forever to build.... Is is
possible to speed up this process? it was correct in ASP.NET 1.1, but now
it's unacceptable...

Thanks a lot..

ThunderMusic
 
If you make changes to a page you don't have to rebuild to run it. :)

When you save the aspx page or codebeside file, the code is compiled and
the dll is updated.
 
Hi,

there are plenty things you can do to speed that up.

first of all, in the build options just build for .net and 32bit, and
make an release build that is for all.

there are also some tweaks to speed that up. dont have them in mind.
maybe i write an blog post next week about it.

the ultimative speed up is to minimize the projects that you have
loaded into the same solution. or, as i do it allways, remove the
references in the web project and copy them by yourself (or write a
programm that manages that, as i have done).
from about 10 mins i come to 20-60 seconds depending on the things
i've changed.

there are also some blog entries about that (speed up visual studio
build process). hope i'll find the links again.

cheers,
christoph


Hi,

Is it possible to speed up the build for ASP.NET 2.0 apps? Each time I
click build (or play for debug), it takes forever to build.... Is is
possible to speed up this process? it was correct in ASP.NET 1.1, but now
it's unacceptable...

Thanks a lot..

ThunderMusic

Cheers,
Christoph

Vienna/Austria

www.code4ward.net/blogs/cmn
 
ThunderMusic said:
Hi,

Is it possible to speed up the build for ASP.NET 2.0 apps? Each time I
click build (or play for debug), it takes forever to build.... Is is
possible to speed up this process? it was correct in ASP.NET 1.1, but now
it's unacceptable...

Agree it's damn slow.

There is a solution though: try the new "VS 2005 Web Application Projects"
which allows you to compile and build websites as it was done in 1.1 (or
simular anyway) - that's a lot faster, both for building and refactoring.

You will need to update VS2005:
http://www.microsoft.com/downloads/...00-9554-4733-8725-3CA89DD9BFCA&displaylang=en

- and download the project template:
http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx

General info:
http://msdn.microsoft.com/vstudio/default.aspx?pull=/library/en-us/dnvs05/html/WAP.asp

Regards, Rune
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top