Being an ASP.NET application developer, it's quite natural for you to learn new ways to enhance the performance of your developed applications. Developing ASP.NET application isn't an uphill battle, provided you know about the ways to make your applications all the more competitive and robust. Performance tuning can be a tricky process, and especially when hundred and thousands of requests need to be handled by an application. So, in order to handle these requests efficiently, it is important to recognize bottlenecks and resolve them as quickly as possible.
With this in mind, we have compiled some strategies that you should take into account while going through custom ASP.NET development. The tips mentioned are easy to follow and will surely help you getting rid of the errors and performance related issues.
So, below are some significant tricks which you can follow to add a performance boost to your ASP.NET application.
1. Disable Session State
If you are no longer making use of session state simply disable it. By default it's on, but you can be turned off easily for some specific pages. This is how session can be disabled.
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs"
Also, to disable it across the web application simply go to setting<sessionState> mode value to off.
<trace enabled="false" pageOutput="false" />
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<compilation debug="false" />