AspDotNetAtoms.com provides daily updates on ASP.NET Tutorials, Programming Resources, .NET Articles, Authors and more.

Categories

Recent Posts

Pre-compiling the Site : Marco Bellinaso

Sunday, August 17 2008

If you deploy the site by copying all the files (including the source code), the pages and the source code files are compiled dynamically at runtime when they are first requested by a user. This is called in-place compilation, and the generated assemblies are compiled into a temporary folder. As an alternative, instead of deploying source files, you can use the aspnet_compiler.exe tool (located under C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727) to pre-compile the source code files and (optionally) the markup files. This is the command you could use to pre-compile everything (this should all be entered on one line)...

Read More:
Pre-compiling the Site : Marco Bellinaso
Also See:
How to make any WebService Method "Timeout"-able : Peter Bromberg
State Management in ASP.NET : DSV Ramana
Keyboard Shortcut in ASP.NET : Richard Bean
ASP.NET Security [Part I] : Joydip Kanjilal

Post your comment

Comment