1 Introduction: Microsoft saw the need for a Windows-based Web development platform early on, and began to propose its own solution, Microsoft's first Web development-based platform ASP. Then, with demand and performance requirements, a second solution, ASP. NET, was introduced in 2002. But technology continues to improve quickly and new requirements, no longer based on the page in 2008 launched the ASP. NET MVC Development Model (model-View-controller), it seems that five or six years of technology will be a leap forward, of course, this is only speculation.
The MVC pattern divides the application into three layers, and the relationships between the three layers are loosely coupled that are isolated from each other, and this is really best, reducing the interplay between many components. The model represents the core business logic and data, the view is responsible for showing the model data, in the form of HTML presented to the user, controler as a bridge between the model and view, the controller receives the user's input to the model to deal with, Finally, the result of processing is passed to view, which is the principle of MVC's "separation of concerns".
Here's a summary of some of the new additions to the ASP. MVC4:
1) Newly added asynchronous control system
2) Add display mode to support display on mobile device
With these new features, the power of the ASP. NET Mvc4 can be imagined that its request process is the life cycle
3) Routing route: The name of the route and route, the URL, the parameter variable consists of which the route name is unique, it is worth noting that the controller is case-insensitive when routing matches. 68
ASP. MVC4 Learning 1