Portal Home > Knowledgebase > ASP.NET > ASP.NET Precompilation


ASP.NET Precompilation




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.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution