Sunday 3 February 2013

Improve Performance of ASP.Net Web Application


Improved Performance for ASP.Net Web Application


                              See! Most web application or web site is loading very slowly and each every action does not well. It’s happening is based on ugly coding and some unwanted things are using,

This is one of the performance issues, we should check and use needed properties of asp.net application, the following lists to be improve the Performance of web application in Asp.net 

  • Turn off Session State, if not required
  • Disable View State of a Page if possible
  • Set debug=false in web.config
  • Avoid Response.Redirect
  • Unnecessary round trips
  •  Use Finally method to kill resources
  •  Use Client Side Scripts for validations
  • Avoid unnecessary round trips to the server
  • Use Page.ISPostBack
  • Include Return statements with in the function/method
  • Use Foreach loop instead of For loop for String Iteration
  • Always check Page.IsValid when using Validator Controls
  • Store your content by using caching
  • Use minimize the number of web server controls

No comments:

Post a Comment