ASP. NET web form and MVC

Source: Internet
Author: User

I read an article on comparison between web form and MVC in my blog. I also wrote two sentences.

From a technical perspective, MVC should be the best choice for server-side solutions (Here we emphasize the server-side solutions to distinguish them from the client solutions)
Such as pure Ajax clients (such as exjs), Silverlight, and flex ). The principle behind Microsoft's product-based technology is simplicity and ease of use.
Form, not MVC, may be the product under the guidance of this principle. Simple and Easy-to-use as a product is king, but it is not necessarily the case for technology. The simpler the application, the more difficult it is to expand and the lack of customization, such as server-side controls. At this point, many people will argue that "Repeater
VS
In fact, the advantage of "repeter" is exactly the advantages of MVC. MVC is not only about full control of HTML, but also its elegance due to loose coupling. In practical applications, the advantage of webform is that it can continue its work on the fruits of others' work (existing third-party controls), while the binding of UI and business logic, and layout's customization costs will soon offset the previous advantages in daily development and maintenance. Write highly efficient webform pagesProgramDevelopers must have rich experience and have a deep understanding of the lifecycle of pages or controls. Server-side controls provide convenience while also providing many black boxes. At the same learning cost, it is easy to write an application with poor efficiency in webform, but not in MVC, it seems that you are always correct in a correct box, and you are always wrong in a wrong box. In a vague box, you may be more prone to mistakes. Microsoft has finally launched its own MVC framework.CommunityAnd insist that webform and MVC are two choices, but I prefer to think that this is Microsoft's recognition of the many inherent defects of webform and has to go back to the right path. Of course, this is my personal speculation ^_^

This document uses the unregistered version of blog_backup for export. Please register with soft.pt42.com.

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.