There was a problem loading the comments.

ASP.NET Precompilation

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Pre-compiling your ASP.NET site can lead to significant startup performance improvements.  This is because ASP.NET will compile your application on first access.  The more code your web site has, the longer this will take.  You can significantly reduce this by precompiling your ASP.NET web site.  This compiles all of the code files into DLL's and will optionally compile your aspx files as well. 

For an overview of precompilation, see http://msdn2.microsoft.com/en-us/library/399f057w.aspx.

For details on how to do this from the command-line: http://msdn2.microsoft.com/en-us/library/ms227972.aspx.

For details on how to do this with Visual Studio 2005 Professional or higher: http://msdn2.microsoft.com/en-us/library/20yh9f1b(vs.80).aspx.


Share via
Thank you for your feedback on this article.

Related Articles

© Softsys Hosting