----------------------------------------------------------
' Speedup Website - Increase Website Speed ASP.net
----------------------------------------------------------
Precompiling a website will enhance the speed because pages do not have to be compiled the first time they are requested
This can also be used to create a compiled version of the site that can be deployed to a production server without source code.
To precompile use aspnet_compiler.exe from
c:\winnt\Microsoft.NET\Framework\v2.0.50727\
and from the command prompt --> aspnet_compiler -v /virtualPath
(or) aspnet_compiler -p physicalOrRelativePath -v /
you can append the above command with target path if it is for deployment.
aspnet_compiler -p "c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\PGWindow\" -v /
Saturday, April 21, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment