1. Avoid excessive round trips to the server.
2. Use Page.IsPostback.
3. Enable or disable viewstate accordingly.
4. Use Response.Write for String concatenation.
5. Never use exceptions as a way to control normal program flow.
6. Use stored procedures.
7. Cache data and output wherever possible.
8. Disable Session State when not in use.
9. Use SqlDataReader for a fast-forward, read-only data cursor.
No comments:
Post a Comment