Reference http://msdn.microsoft.com/msdnmag/issues/05/01/ASPNETPerformance/
To become an excellent ASP. NET developer, remember these 10
1. Return multiple resultsets
You can return multiple query results when accessing the database at a time.
2. Paged Data Access
Try not to use pagination in the DataGrid, and use the stored procedure for this operation.
3. Connection Pooling
Use the database connection pool. Create a database connection pool connected to the database on the Web server to reduceProgramThe number of requests that require TCP/IP connection each time when the database is connected, improving the response speed.
4. ASP. NET cache API
Cache can be used for some common data.
5. Per-request caching
6. Background Processing
7. Page output caching and proxy servers
Be careful about proxy caching or cacthe in your IIS. That is to say, sometimes you will find that the results of a program refresh several times are the same (should be different), which is basically a cache problem. You can add some other parameters after the request URL to avoid it. Display. aspx? Temp = 12345678.
8. run IIS 6.0 (if only for Kernel caching)
Note: Sometimes you need to determine whether your program is running under iis6.0, because something may run abnormally.
9. Use gzip Compression
You can use the compression function for big data.
10. Server Control view State
Sometimes using stateview on the client side is not a good thing.