Comparison of advantages and disadvantages of MVC and WebForm, and advantages and disadvantages of MVCWebForm

Source: Internet
Author: User

Comparison of advantages and disadvantages of MVC and WebForm, and advantages and disadvantages of MVCWebForm

1. Advantages of WebForm

1) supports event model development. Thanks to the rich server components, WebForm development can quickly build Web applications.

2) easy to use and easy to get started

3) rich WebForm controls

2 WebForm disadvantages

1) The package is too strong. Many layers are difficult for beginners to understand.

2) Easy to get started and difficult to improve.

3) it is not easy to learn complex lifecycle models.

4) inflexible Control

5) ViewState Processing

6) for asynchronous requests, each request must have a common processing program corresponding to the background.

7) inconsistent with traditional Web development methods

3 advantages of MVC

1) it is easy to divide complex applications into three component models: M, V, and C. Through Model, View, and Controller, the complex architecture is effectively simplified, reflecting the good isolation principle.

2) Because Server-Based forms is not used. Therefore, our programmers are more flexible and the pages are cleaner.

3) You can control the claimed custom URLs. seo-friendly URLs are even more difficult.

4) implementing a strong view makes it safer, more reliable, and more efficient.

5) enables web Development to focus on a specific layer, which is more conducive to the use of division of labor and large-scale architecture development.

6) Support for asynchronous processing in MVC

7) extremely high Verification

8) the automatic assembly function is provided when the form is submitted.

9) Global filters provided by Microsoft

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.