Tips And Best Practices To Improve ASP.NET Web Application Performance

This article suggests a few tips to improve the performance of an ASP.NET application. There are many more things which may ensure a better performance and faster response time for a web application. I am discussing only a few of the best practices that will help you avoid some unwanted performance hitters from your application. So, you will have a more lightweight application which runs quicker and gives a better response time.


Use Caching

Caching is a good technique to improve your application’s performance. If your application has infrequent data changes or the application has more static content of web page, you can use caching. If your application does not mandate near real-time content to be delivered, consider using output caching. But, the data won’t be the latest for the duration mentioned while enabling caching.


When using caching, what it does is - it stores the output of the page. So, the subsequent requests for the page are loaded immediately by serving this output instead of generating the output. This output is served for the certain period mentioned while enabling caching.


You can cache entire page or fragments of pages or controls depending on the type of static data you have.


Disable View State if Possible

View State is a