Sunday, July 27, 2008

Performance Tips and Tricks in .NET Applications

One of the toughtest and important thing involved in ASP.NET web application development is improving the performance. So here are few trips which will help you to improve the performance of your web application. Following points needs to be kept in mind for ASp.net web applications
  1. Throw Fewer Exceptions
  2. Design with ValueTypes
  3. Trim Your Working Set
  4. Use StringBuilder for Complex String Manipulation
  5. Keep IO Buffer Size Between 4KB and 8KB
  6. Cache Aggressively
  7. Use Session State Only If You Need To
  8. Use View State Only If You Need To
  9. Remove Unnecessary Http Modules
  10. Avoid the Autoeventwireup Feature
  11. Turn On Option Strict and Explicit
  12. Remove unwanted namespaces imported

1 comment:

Anonymous said...

Good article.