Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Introduction to ASP.NET MVC<br />Elias, Darius D.<br />darius.elias@live.co.uk<br />+255(0)718 587067<br />
Session Objectives<br /><ul><li>What is ASP.NET MVC?
What is MVC?
Is it deprecating WebForms?
What are its value propositions?
Is ASP.NET MVC right for you?
Can it ease some web development pain you’re currently having?</li></ul>Takeaways<br />
ASP.NET Then…<br />ASP.NET<br />Caching<br />Modules<br />Globalization<br />Pages<br />Controls<br />Master Pages<br />Pr...
ASP.NET Now…<br />ASP.NET<br />Dynamic Data<br />Presentation<br />ASP.NET<br />WebForms<br />ASP.NET<br />MVC<br />ASP.NE...
WebForms is great, but options are good…<br />
No real role responsibility…<br />Master Page<br />Control<br />Control<br />UI<br />Presentation Logic<br />Business Logi...
So how does ASP.NET MVCdiffer?<br />
MVC = Model-View-Controller<br />Controller<br />(Input)<br />Model<br />(Logic)<br />View<br />(Presentation)<br />Separa...
How does MVC look?<br />Controller<br />Controller<br />Handles input<br />(HTTP requests)<br />Request<br />View<br />Vie...
What are the tenets of ASP.NET MVC?<br />
Framework Goals<br />Frictionless Testability<br />Tight control over <markup><br />Leverage the benefits of ASP.NET<br />...
Upcoming SlideShare
Loading in …5
×

Introduction to asp.net mvc

1,376 views

Published on

an overview of ASP.NET MVC

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Introduction to asp.net mvc

  1. 1. Introduction to ASP.NET MVC<br />Elias, Darius D.<br />darius.elias@live.co.uk<br />+255(0)718 587067<br />
  2. 2. Session Objectives<br /><ul><li>What is ASP.NET MVC?
  3. 3. What is MVC?
  4. 4. Is it deprecating WebForms?
  5. 5. What are its value propositions?
  6. 6. Is ASP.NET MVC right for you?
  7. 7. Can it ease some web development pain you’re currently having?</li></ul>Takeaways<br />
  8. 8. ASP.NET Then…<br />ASP.NET<br />Caching<br />Modules<br />Globalization<br />Pages<br />Controls<br />Master Pages<br />Profile<br />Roles<br />Membership<br />Intrinsics<br />Handlers<br />Etc.<br />One web application<br />framework to rule them all…<br />
  9. 9. ASP.NET Now…<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 />
  10. 10. WebForms is great, but options are good…<br />
  11. 11. No real role responsibility…<br />Master Page<br />Control<br />Control<br />UI<br />Presentation Logic<br />Business Logic<br />Data Access<br />Control<br />Control<br />Page<br />Control<br />Control<br />Control<br />Control<br />Who does what?<br />How and when?<br />
  12. 12. So how does ASP.NET MVCdiffer?<br />
  13. 13. MVC = Model-View-Controller<br />Controller<br />(Input)<br />Model<br />(Logic)<br />View<br />(Presentation)<br />Separation of concerns!<br />
  14. 14. How does MVC look?<br />Controller<br />Controller<br />Handles input<br />(HTTP requests)<br />Request<br />View<br />View<br />Visually represents<br />the model<br />Response<br />
  15. 15. What are the tenets of ASP.NET MVC?<br />
  16. 16. Framework Goals<br />Frictionless Testability<br />Tight control over <markup><br />Leverage the benefits of ASP.NET<br />Conventions and guidance<br />…<br />
  17. 17. Clean URLs<br />Don’t settle for…<br /> /Products.aspx?CategoryID=123<br />When you can easily have…<br /> /Product/Puppies<br />Or whatever else makes sense…<br />
  18. 18. Extensibility<br />Action<br />Filters<br />Model <br />Binders<br />Controller<br />Builder<br />Controller<br />Factory<br />Controller<br />Controller<br />Action<br />Invoker<br />View<br />Engine<br />View<br />Action<br />Result<br />Any of this can be replaced!<br />
  19. 19. How about unit testing?<br />
  20. 20. Summary<br /><ul><li>ASP.NET MVC is a new application option built on top of ASP.NET
  21. 21. WebForms isn’t being deprecated
  22. 22. ASP.NET MVC strives to provide strong, frictionless testability
  23. 23. It places a lot of the control in your hands</li></li></ul><li>

×