Analysis of ASP. NET MVC

Source: Internet
Author: User

MVC is a typical MVC design. To take care of the readers who have known MVC for the first time, I would like to explain the term:
M: Model, which stores business processing and data.
V: View. This UI template is mainly displayed on the foreground.
C: Controller, which stores classes related to data control and other operations.

The MVC flowchart is described as follows:

About ASP. NET MVC1.0

Microsoft's slogan is to create an intelligent and silly development tool. Therefore, the released MVC also follows this style. it is very easy to develop programs using the MVC design pattern in. NET. The steps are as follows:
1. Install the SP1 Patch for VS2008.
2. Download MVC1.0 and click Download)
3. You can create an MVC Application template when creating a project.
4. Codeing ......

ASP. net mvc development method PK traditional development method

Traditional development: in traditional WEB development, if efficiency is not taken into account, drag the control and add events to complete simple business development.

ASP. net mvc development: return to the previous HTML controls, instead of using server controls. Therefore, you do not need server events and use Action instead of previous event activation methods.
As this article is only for readers to understand the whole world, it is further elaborated. As to how ASP. net mvc replaces event activation, please pay attention to the subsequent articles.

Author's experience

As the first time I met ASP. NET MVC1.0, I would like to briefly summarize my usage experience, which is actually the advantages of ASP. NET MVC:
1. The code is clearer than the previous code in the traditional method and more focused on separation.
2. It is simpler than using MVC in JAVA, so you don't need to use XML files. It is a little troublesome in JAVA.
3. efficiency must be high, because N-length ViewState is not seen in the source code, because the Html control is used.
For the time being, there are so many shortcomings. Please give me more advice.

  1. Brief Introduction to ASP applications
  2. IScriptControl of ASP. NET
  3. ASP. NET Authentication Service
  4. Overview ASP. NET Security
  5. ASP. NET ISAPI

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.