ASP.NET MVC is a web application framework that implements the model-view-controller pattern, giving developers more control over HTML and improving testability compared to ASP.NET WebForms. The presentation describes what MVC is, why it is useful for separation of concerns, better testing and maintainability, discusses how requests flow through the MVC pattern in an application, and demonstrates building an MVC application from scratch. Resources for learning more about ASP.NET MVC are also provided.
3. What The Microsoft implementation of the MVC pattern More control over HTML (closer to the metal) More testable An option, not a replacement for Webforms
4. What: Pattern Model Calculator M: data and methods to manipulate V: displays the data C: calls methods on Model and picks View Controller View
5. Why Separation of concerns Allows for better testing Better maintainability SEO and url friendly Source code is available Pluggable - extensible
6. Why (continued) Built on top of ASP.NET framework Master pages, Use providers, httpmodules, httphandlers, session, ... Great tooling support in Visual Studio
Routetable is created (only once)Routing module locates the route and creates the route handlerRoutehandler creates associated Http HandlerHandler determines the controller which is created by a ControllerFactoryController executes + Viewengine created if necessaryIViewEngine creates Iview which renders view