AmosFiveSix.com

Experience, Knowledge, Creativity

  • Increase font size
  • Default font size
  • Decrease font size
Home Blog .Net ASP.Net Precompilation

ASP.Net Precompilation

E-mail Print PDF
New Compilation Modes in ASP.NET 2.0 - Rick Strahl - May 14, 2005
http://www.west-wind.com/weblog/posts/2005/May/14/New-Compilation-Modes-in-ASPNET-20

Compilation and Deployment in ASP.NET 2.0 - Rick Strahl - August 12, 2008
http://www.west-wind.com/presentations/AspNetCompilation/AspNetCompilation.asp

MSDN: File Handling During ASP.NET Precompilation  (.NET Framework 2.0)
http://msdn.microsoft.com/en-us/library/e22s60h9%28v=vs.80%29.aspx

MSDN: ASP.NET Web Site Precompilation Overview (.NET Framework 2.0)
http://msdn.microsoft.com/en-us/library/399f057w%28v=vs.80%29.aspx

MSDN: Understanding ASP.NET Dynamic Compilation (.NET Framework 2.0)
http://msdn.microsoft.com/en-us/library/ms366723%28v=VS.80%29.aspx

Stack Overflow: Is there a way to get rid of aspx placeholder files in a ASP.NET web deployment project?
http://stackoverflow.com/questions/424230/is-there-a-way-to-get-rid-of-aspx-placeholder-files-in-a-asp-net-web-deployment

Stack Overflow: ASP.NET Web Deployment Projects: getting rid of .compiled files
http://stackoverflow.com/questions/447217/asp-net-web-deployment-projects-getting-rid-of-compiled-files


Results from combinations of various settings in the Publish Web Site dialog for a sample web site:

Settings:
  • Yes - Updatable
  • Yes - Fixed naming
  • Yes - Emit debug info
  • Yes or No - Web.config debug
Results:
  • App_Code.dll and .compiled and .pdb
  • App_global.asax.dll and .compiled and .pdb
  • App_WebReferences.dll and .compiled and .pdb


Settings:
  • Yes - Updatable
  • Yes - Fixed naming
  • No - Emit debug info
  • Yes or No - Web.config debug
Results:
  • App_Code.dll and .compiled
  • App_global.asax.dll and .compiled
  • App_WebReferences.dll and .compiled
  • No PDB files for web site DLLs


Settings:
  • No - Updatable
  • Yes - Fixed naming
  • No - Emit debug info
  • Yes or No - Web.config debug
Results:
  • App_Code.dll and .compiled
  • App_global.asax.dll and .compiled
  • App_WebReferences.dll and .compiled
  • App_Web_xyz.dll files for each .aspx page
  • .compiled files for each .aspx and .asmx file
  • No PDB files for web site DLLs


Settings:
  • No - Updatable
  • No - Fixed naming
  • No - Emit debug info
  • Yes or No - Web.config debug
Results:
  • App_Code.dll and .compiled
  • App_global.asax.dll and .compiled
  • App_WebReferences.dll and .compiled
  • App_Web_random.dll files of a random amount
  • .compiled files for each .aspx and .asmx file
  • No PDB files for web site DLLs