The pros and cons of MVC vs. WebForm

Source: Internet
Author: User

1 WebForm Advantages

1) Support event Model development, thanks to the rich service-side components, WebForm development can quickly build Web applications

2) Easy to use, easier to get started

3) Control-rich WebForm

2 WebForm Disadvantages

1) Encapsulation is too strong, many strata things let us beginners do not quite understand

2) Easy to get started, improve hard.

3) Complex life cycle models are not easy to learn.

4) control is not flexible

5) ViewState Treatment

6) Asynchronous request each request background must have a generic handler corresponding to

7) inconsistent with the traditional way of web development

3 MVC Benefits

1) It is easy to divide complex applications into m,v,c three component models, effectively simplifying complex architectures through model,view and controllers, and embodying good isolation principles

2) because server-based forms are not used. So our programmer controls more flexibly and the pages are cleaner.

3) can control the URL of the claimed custom, for SEO-friendly URL is not a cinch

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

5) Let Web development can focus on a certain layer, more conducive to the use of division of labor and large-scale architecture development

6) Better support for asynchronous processing under MVC

7) Very High calibration

8) Provide automatic assembly function when the form is submitted

9) Global filter provided by Microsoft

The pros and cons of MVC vs. WebForm

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.