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
ASP.NET Security [Part I] : Joydip Kanjilal
Basic Reporting Part 3: Programmatically Setting the ObjectDataSource's Parameter Values : Scott Mitchell
Sharing Web Parts across multiple pages : Damon Armstrong
Look What You Can Do with Silverlight 2 (Part 4 of 6): Web Services Support : ASP.NET Webcasts

Post your comment

Comment