Basic strategy for an asp.net app performance
April 9, 2009
- dispose of resources once they are no longer required. For example, use(resource object){…}
- ensure connecting to a database is done in the best possible way (good to use “use” block).
- using stored procedures can improve data access performance.
- use generics to improve performance of collections to keep from unboxing.
- minimize the session state to allow less processing to be done by ASP.NET.
- disable view state to reduce the amount of data sent to and from the web server.
