Why Precompile???

May 28, 2007

The advantages of precompiling a web application is that
1. It ensures faster page-load and
2. provides more security to the code.
Here are few articles which will help in understanding precompilation better and also how to precompile an ASP.NET2.0 web application…
http://articles.techrepublic.com.com/5100-3513-6116804.html
http://www.beansoftware.com/ASP.NET-Tutorials/Deploy-ASP.NET.aspx
http://aspalliance.com/717
msdn link
quote – “The primary disadvantages of deployment pre-compilation are that you have to perform these steps prior to deployment and that you can’t change your Website after it has been deployed. If you want to make changes, you have to recompile the Website and redeploy it”
(How to precompile)
Also chk out this article by Rick Starhl titled – “Watch out with precompiled ASP.NET 2.0 Applications if you have Orcas installed- http://west-wind.com/WebLog/posts/73663.aspx

Entry Filed under: .net 2.0, Visual Studio, WebApplication, asp.net, asp.net2.0. .

1 Comment Add your own

  • 1. Debasish Pramanik  |  November 14, 2007 at 4:49 am

    Hi Arti:

    This is really interesting one as currently I have a similar situation out here. Here the app is a web application(Web Site Model ), and maintainence is a support is a major factor as the system is newly developed so developer made a choice deploy everything as it is without any compilation. The problem was if there is a bug fix they have to recompile and the entire website which basically means test the entire stuff which is a huge effort. One of the thing which I came across is Single Page Assembly depolyment. This model compiles every page as a separate assembly. The option is available when you publish the website.

    Regards,
    Debasish Pramanik
    http://debasishpramanik.wordpress.com

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


 

May 2007
M T W T F S S
« Apr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

Archives

@bloglines

Blogroll