JPYC [original]
To make the written code reach an acceptable performance level, you can achieve the following techniques:
1. Disable it when you do not use a session state. detailed
2. Carefully select the session status provider. detailed
3. Avoid unnecessary round-trip processes from the server. detailed
4. Use Page.isPostback to avoid unnecessary processing on the round-trip process. detailed
5. Use the ASP.NET server control in the appropriate environment. detailed
6. Save the server control view status only when necessary. detailed
7. Use the httpresponse.write method for string series. detailed
8. Unless there is a special reason to turn off the buffer, it will keep it open. detailed
9. Do not rely on the exception in your code. detailed
10. Appropriate use of garbage collectors and automatic memory management of common language runtime libraries. detailed
11. If there is a large web application, consider performing a pre-compiled compilation. detailed
12. Recycling the process when running an ASP.NET web application on Internet Information Services 5.0. detailed
13. Adjust the number of threads for each auxiliary process when necessary. detailed
14. Redirect the page between the same application using the httpserverutility.transfer method. detailed
15. Make all modules in the request line as efficient as possible. detailed
16. Using early bindings in Visual Basic .NET or JScript code. detailed
17. Migrate the intensive COM components to the managed code. detailed
18. Avoid single-threaded unit (STA) COM components. detailed
19. Use the SQL Server stored procedure for data access. detailed
20. Use the SQLDataReader class to quickly enter the data cursor. detailed
21. Select the data viewing mechanism for the page or application. detailed
22. As long as it is possible, the cache data and page output. detailed
23. For applications that are widely rely on external resources, consider enabling network gardening on multiprocessor computers. detailed
24. Be sure to disable debug mode. detailed
25. Optimize a web server computer and a specific application configuration file to comply with your specific needs. detailed