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 resourcesUse Client Side Scripts for validations
Avoid unnecessary round trips to the server
Use
Page.ISPostBack
Include
Return
statements with in the function/methodUse
Foreach
loop instead ofFor
loop forString
IterationAlways check
Page.IsValid
when using Validator ControlsStore your content by using caching
Use minimize the number of web server controls
No comments:
Post a Comment