Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In The Real World

2,557 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,557
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In The Real World

  1. 1. .NET<br />The Not-So-Scary Side of ASP.NETModel View Controller in the Real World<br />Colin Bowern<br />colin@bowern.com<br />@colinbowern<br />www.colinbowern.com<br />
  2. 2. Trying new things can be hard...<br />
  3. 3.
  4. 4. Where does MVC fit?<br />ASP.NET<br />Dynamic Data<br />Presentation<br />ASP.NET<br />WebForms<br />ASP.NET<br />MVC<br />ASP.NET<br />Core<br />Runtime<br />
  5. 5. Controller<br />(Input)<br />Model<br />(Logic)<br />View<br />(Presentation)<br />MVC in a Nutshell<br />
  6. 6. MVC in a Nutshell<br />Controller<br />Controller<br />Handles input<br />(HTTP requests)<br />Request<br />View<br />Visually represents<br />the model<br />View<br />Response<br />
  7. 7. File | New | voilà!<br />Show Me The Code!<br />
  8. 8. Key Tenants of ASP.NET MVC<br />
  9. 9. Models, Views, And Controllers, Oh MY!<br />Show Me The Code!<br />
  10. 10. Getting Data into the Controller<br />Request<br />Controller<br />ModelBinders<br />Incoming Values<br />Query string<br />Route<br />Form<br />Duties<br />Re-hydrate request into parameters<br />Perform basic validation<br />
  11. 11. Passing the dutchie<br />Show Me The Code!<br />
  12. 12. ASP.NET Runtime<br />ASP.NET MVC<br />
  13. 13. Run It Here, There and Everywhere<br />
  14. 14.
  15. 15. Resources<br />Microsoft Starting Points<br />http://microsoft.com/web<br />http://asp.net/mvc<br />http://aspnet.codeplex.com<br />http://codeplex.com/MVCContrib<br />Community Starting Points<br />http://channel9.msdn.com/tags/asp.net+mvc<br />http://haacked.com/<br />http://stackoverflow.com<br />

×