The main points of ASP.net performance

Source: Internet
Author: User
Tags exception handling net
Asp.net| performance Read the Microsoft lectures and write down these points:
1. Note that the unnecessary session state is closed.
2. You may not use the server control when it is not necessary. And note that when you do not need to close view state
3. Do not use exception handling to control the process. A lot of places can be judged by conditions.
4. Disables the Dynamic data type of VBS and JS.
5. Note Turn off debug mode.
6. Note the use of outputcache.
Data access:
1. Use stored procedures as much as possible.
2. Read-only data access do not use Dateset.
3. Database design room. Try to make each module and table independent. In order to facilitate the distribution of the database later.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.