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.

Print | posted on Monday, April 25, 2005 7:41 AM

Comments on this post

# re: ASP.NET Application Deployment - Performance Enhancement

Requesting Gravatar...
Hi harish..

Can we able to debug the application which is built in release mode.
Left by Satheesh_spv@hotmail.com on Jul 15, 2005 2:11 AM

# re: ASP.NET Application Deployment - Performance Enhancement

Requesting Gravatar...
I have understood the prerequest of deployment but I want to know the deployment itself.
Left by Abdalla on Oct 10, 2005 11:15 AM

# re: ASP.NET Application Deployment - Performance Enhancement

Requesting Gravatar...
information about how asp.net enhance perforrmance
Left by ARUN SAINI on Jun 02, 2008 5:15 PM

# re: ASP.NET Application Deployment - Performance Enhancement

Requesting Gravatar...
I have understood the prerequest of deployment but I want to know the deployment itself.
Left by mario oyunları on Sep 21, 2009 10:31 AM

# re: ASP.NET Application Deployment - Performance Enhancement

Requesting Gravatar...
I have understood the prerequest of deployment..
Left by mario oyunları on Jan 04, 2010 3:08 AM

# re: ASP.NET Application Deployment - Performance Enhancement

Requesting Gravatar...
Great tip there, if perhaps a bit outdated now.
Left by worldcup on Mar 31, 2010 7:53 AM

Your comment:

 (will show your gravatar)