Code Optimization in ASP.NET
July 1, 2010
Leave a comment
Source :
http://www.c-sharpcorner.com/UploadFile/vendettamit/733/Default.aspx
By Amit
Introduction
This article gives a simple checklist that can simply be run against any ASP .NET Web Page to optimize it. This is in no way a complete list, however it should work for most of the web pages. For a performance critical application you will surely need to go beyond this checklist and will require a more detailed plan.
Checklist for all pages
Here is the list of checks that you need to run, not necessarily in order:
- Disable ViewState – Set “EnableViewState=false” for any control that does not need the view state. As a general rule if your page does not use postback, then it is usually safe to disable viewstate for the complete page itself. Read more…
Categories: C#