ASP.NET Application Deployment - Performance Enhancement

Hi,

Before deploying ASP.NET applications, carrying out the following steps would ensure the enhanced performance of the application:-

1. In Visual Studio.NET, select the Mode as Release (the drop down in the top center next to the > start icon) and then Build the Application. This would enhance the performance as in the DEBUG mode, the performance would be slow since the DEBUG information has to be written in the pdb file. (If you build in Release mode, the PDB file is not generated). The resultant DLL would give an enhanced performance.

2. In the web.config file, set the debug attribute to false, as below:-

<compilation
defaultLanguage="c#"
debug="false"/>

This would increase the performance greatly.

3. Remove unnecessary Exception handling as they consume the resources heavily.

Cheers.

posted @ Monday, April 25, 2005 7:41 AM

Print

Comments on this entry:

# re: ASP.NET Application Deployment - Performance Enhancement

Left by Satheesh_spv@hotmail.com at 7/15/2005 2:11 AM
Gravatar
Hi harish..

Can we able to debug the application which is built in release mode.

# re: ASP.NET Application Deployment - Performance Enhancement

Left by Abdalla at 10/10/2005 11:15 AM
Gravatar
I have understood the prerequest of deployment but I want to know the deployment itself.

# re: ASP.NET Application Deployment - Performance Enhancement

Left by ARUN SAINI at 6/2/2008 5:15 PM
Gravatar
information about how asp.net enhance perforrmance

# re: ASP.NET Application Deployment - Performance Enhancement

Left by mario oyunları at 9/21/2009 10:31 AM
Gravatar
I have understood the prerequest of deployment but I want to know the deployment itself.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345