Advantages and disadvantages of ASP.

Source: Internet
Author: User

The ASP. NET MVC schema pattern is a low-coupling, testable Web application framework built on the CLR and the mature MVC architecture. ASP. NET MVC does not support ViewState and server controls.

The advantages of ASP:

1. Architecture reduces inter-program coupling, M V C, layered, target-specific
2. Performance does not support ViewState, complete HTML, has been used in conjunction with jquery, providing program performance
3. Support parallel development, extensibility, Inheritance of asp: Form authentication, cache, session, etc.

4. Strong-type view implementation, more secure, more reliable, more efficient

5. Facilitates the reuse of components

6. Better support for unit testing
Disadvantages:
1. No ViewState and event-based programming, slow to get started, high learning costs.

The advantages of ASP:

1. Support for rich server controls. such as: GridView and ListView can bind data, thus reducing a lot of code writing
2. Support view state, each control state exists as "hidden field" in the form of the current form page to achieve "stateful", this is ViewState
3. Based on event-driven programming, such as: Click event, aspx page and CS file separation, that is, display logic and processing logic separation, easy division of labor, art, programming. Not as confusing as ASP code
4. Low learning Costs
Disadvantages:
1. From the perspective of the project architecture, Web form is not an ideal architecture mode, although the classic three-tier architecture or MVP can be used, but not the best.
2. Performance ViewState successfully solved the ASP problem, but also introduced a new problem, ViewState page storage is bound to increase the page size, reduce program performance
3. Code reusability is not good; support for parallel development is missing because ASPX pages are tightly coupled with CS and SEO unfriendly because URLs specify specific ASPX pages and are not conducive to unit testing because a large number of event handlers are used

4. Control is not flexible

5. Easy to get started and difficult to improve

6. Package is too strong

Advantages and disadvantages of ASP.

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.