What is ASP.NET MVC?  A better way to build the web.
MVC Pattern
ASP.NET MVC Goals •   Leverage ASP.NET core features •   Loose coupling and extensibility •   Testability •   Tight contro...
How it works.
How it works.
How it works.
How it works.
How it works.
Life of a Http Request
How MVC is typically built.Models- contains the bulk of your application logic. (ie. db  access, security, aggregations, e...
How MVC is typically built.Views- contains html, styling and JavaScript for the  application layout and pages.- may also c...
How MVC is typically built.Controllers- this is the application’s entry point, which handles  the http requests (Actions) ...
Why it’s better.•   Open source: http://aspnetwebstack.codeplex.com/•   NuGet.org (9000+ nuget packages)•   Embraces html5...
Upcoming SlideShare
Loading in …5
×

What is ASP.NET MVC

364 views

Published on

a quick overview of MVC

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
364
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

What is ASP.NET MVC

  1. 1. What is ASP.NET MVC? A better way to build the web.
  2. 2. MVC Pattern
  3. 3. ASP.NET MVC Goals • Leverage ASP.NET core features • Loose coupling and extensibility • Testability • Tight control over markup • Separation of concerns • Convention over configuration • Better team development • Strong community of web developers
  4. 4. How it works.
  5. 5. How it works.
  6. 6. How it works.
  7. 7. How it works.
  8. 8. How it works.
  9. 9. Life of a Http Request
  10. 10. How MVC is typically built.Models- contains the bulk of your application logic. (ie. db access, security, aggregations, etc )- possibly your Entity Framework model, Linq2SQL, a repository, or a service layer.
  11. 11. How MVC is typically built.Views- contains html, styling and JavaScript for the application layout and pages.- may also contain Ajax calls that getpost data for Async features.- Other client-side frameworks could be used here, like jQuery, BackBone.js, Knockout.js
  12. 12. How MVC is typically built.Controllers- this is the application’s entry point, which handles the http requests (Actions) and any required parameters.- for best practices, “Actions” in a controller should be as minimal as possible.
  13. 13. Why it’s better.• Open source: http://aspnetwebstack.codeplex.com/• NuGet.org (9000+ nuget packages)• Embraces html5 & javascript• Active community (stackoverflow, github)• Learned from other successes (Rails, Zend)

×