1 / 6

ASP.net MVC

ASP.net MVC. Owen Evans Developer, Xero. Welcome to the new (old) way. MVC – Model-View-Controller about architectural separation not a new pattern, first attributed to Trygve M. H. Reenskaug , working in smalltalk at Xerox Parc Less to think about (no page object model)

lars
Télécharger la présentation

ASP.net MVC

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ASP.net MVC Owen Evans Developer, Xero

  2. Welcome to the new (old) way • MVC – Model-View-Controller • about architectural separation • not a new pattern, first attributed to Trygve M. H. Reenskaug, working in smalltalk at Xerox Parc • Less to think about (no page object model) • easier to unit test

  3. MVC vs. Classic ASP.net ASP.net Classic ASP.net MVC

  4. Putting the R in MVC • Routing is part of the major power of MVC • Many URLs can link to the same controller, unlike code behinds which have a 1-1 link with .aspx pages, controllers can have multiple views • Controllers are usually grouped around conceptual objects within the domain • Tasks, Posts, Products

  5. Questions? • Ask Scott Hanselman…….

  6. References • ASP.net MVC Official Site http://www.asp.net/mvc/ • MVC Xerox Parchttp://heim.ifi.uio.no/~trygver/themes/mvc/mvc-index.html • Phil Haack

More Related