Knowledge Point 1-2: What is ASP. NET MVC

Source: Internet
Author: User
Tags what is asp

The ASP. NET MVC is a Web development framework on the Microsoft. NET platform that provides developers with a way to build a good web application. Since the preview was first released in 2007, the popularity of ASP. NET MVC has improved significantly as a substitute for Web form, and many large Web applications are now built using this technology. It features neat code, separation of concerns, and testability.

MVC represents the Model-view-Controller (Model-view-controller), which is a very popular design pattern in web development. You can mix MVC and Web Form pages in the same application, both based on the ASP.

1.MVC mode

Model: Build the domain around which the software is built, and build a domain model. For example, blogs, models may be posts and comments.

View: A visual representation of a model. For example, HTML that shows a blog post.

Controller: Provides a coordinator for the association between the view and the model. The controller is responsible for processing input, manipulating the model, and deciding which action to perform, such as rendering a view or redirecting to another page. For example, the controller might want to find the latest comments (models) for a post and pass them to the view for rendering.

The controller accepts user input, constructs the appropriate model, and then passes it to the view. Both the controller and the view have dependencies on the model, but the model itself is ignorant of the controller and view. As shown in 1.3.

Knowledge Point 1-2: What is ASP. NET MVC

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.