An ASP.NET Blog
I work for Microsoft and help people and businesses make better use of technolgy to realize their full potential. The opinions mentioned herein are solely mine and do not reflect those of my employer.

ASP.NET Application Deployment - Performance Enhancement

Monday, April 25, 2005 7:41 AM
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.

Feedback

# re: ASP.NET Application Deployment - Performance Enhancement

Hi harish..

Can we able to debug the application which is built in release mode.
7/15/2005 2:11 AM | Satheesh_spv@hotmail.com

# re: ASP.NET Application Deployment - Performance Enhancement

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

# re: ASP.NET Application Deployment - Performance Enhancement

information about how asp.net enhance perforrmance 6/2/2008 5:15 PM | ARUN SAINI

# re: ASP.NET Application Deployment - Performance Enhancement

ok 7/27/2008 7:13 PM | '

Post a comment





 

Please add 1 and 6 and type the answer here: