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.