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.
- Brief Introduction to ASP applications
- IScriptControl of ASP. NET
- ASP. NET Authentication Service
- Overview ASP. NET Security
- ASP. NET ISAPI