From: http://dotnet.chinaitlab.com/ASPNET/878188.html
ASP. net MVC from the original 1.0 to 2.0, and then to 3.0, and now to 4.0, may be available next year 5.0, regardless of which, then let's talk about the MVC in ASP. net. For. Net programmers may be very familiar or unfamiliar. I used to do this. Net for more than a year. I have never heard of this concept, but I read other people's blogs yesterday. Net), suddenly interested in this problem, so research, research is not very deep, for beginners to have a simple understanding. You are welcome to give a brick-making guide.ArticlePerfect for writing.
ASP. netmvc understanding: Asp. netmvc framework is Microsoft in ASP.. net. This class library can use the Model-View-controller design mode to Develop ASP. net ApplicationsProgram. MVC features and advantages in this not detailed introduction (ASP. net mvc: http://baike.baidu.com/view/1980463.htm)
Mvc2.0
New Features of mvc2.0 include:
1. Areas: multiple logical layers can be organized to facilitate team development.
2. uihelpers: You can use stronugly-typedhelpers to modify and display data, making it easier to maintain old programs and thus providing high development efficiency.
3. server-side verification: You can use declarative annotations to define model verification rules.
4. Client verification: automatically generates model-based client verification.
Mvc3.0
Key features:
ASP. netmvc3.0 brings a new razor view engine, which provides the following advantages:
I. New technologies or attributes
1. multi-view engine supported: in the new project dialog box, you can specify the default view engine of the project.
2. actionresult type: Newly Added actionresult in mvc3.0
3. remote verification: A new tag, remoteattribute, supports remote verification of the jquery. Validate plug-in.
Ii. Attribute improvement:
1. New viewbag attribute: Change the viewdata attribute in mvc2.0 to the viewbag in mvc3.0 for simpler completion.
3. Technical improvements:
1. controller improvement: allows you to add a filter to the globalfilters set to create a global filter. That is to say, it provides functions such as filter, before executing the action, the filter or listener of the converted character set is executed. vertical cutting technology is used.
2. JavaScript and Ajax improvements: A New JavaScript library is added. The Verification Assistant uses the jquery. Validate plug-in by default.
3. validationattribute class: In. The validationattribute class is improved in netframework4 to support the new isvalid overload.
4. Client verification is enabled by default.
5. Improvement of Model Verification
6. Interface Verification
Mvc4.0
Key Analysis: New webapi, mobile application, and single page application.
In webapi and singlepage application, view currently only supports Razer syntax.
Webapi: it is actually a platform built on the restful service. Of course, it must be an HTTP protocol. After you create an empty web api mvc project, you will see a new class apicontroller setting in the Controller. It helps you create get (), post (), put (), delete () and other methods. One of the get () methods is the method that overloading returns ienumerable <t>. This is also one of the main powerful features of Web APIs, forcing other httpwebrequests.
First, jquery and some other script versions were upgraded, and of course Microsoft's own Ajax library was also removed. Use HTML5 for layout.
ASP. NET web API (supports rest APIs)
ASP. NET Single page application (single page application)
Enhancements to default project templates (improved project template)
Mobile Project template (mobile Project template)
when I saw the article yesterday, I felt like I was afraid of not knowing it. Although these features are all technical updates without technical application, they feel very empty. But when someone asks you this question, they can't say it. Oh, I 'd better study and write a summary. I don't know much about it. I just heard of ASP yesterday. net mvc3.0, learn ASP by yourself. net has never heard of this thing. Today I have heard of it and I have learned that the framework of Microsoft framework4.5 is very powerful and I don't know much about it.