0
Introducing ASP.NET MVC 2 Shiju Varghese http:// weblogs.asp.net/shijuvarghese
Who am I? <ul><li>Shiju Varghese </li></ul><ul><li>Focus on ASP.NET MVC & DDD </li></ul><ul><li>ASP.NET MVP </li></ul><ul>...
Session Objectives <ul><li>Introduction to ASP.NET MVC </li></ul><ul><li>Demonstrate App building with ASP.NET MVC 2 </li>...
What is ASP.NET MVC <ul><li>An alternative framework to ASP.NET Web Forms </li></ul><ul><li>More control over your HTML </...
Demo
Goals of ASP.NET MVC Framework <ul><li>Enable clean separation of concerns </li></ul><ul><ul><li>Each component has one re...
Goals of ASP.NET MVC 2 <ul><li>Enterprise ready </li></ul><ul><li>Better productivity </li></ul><ul><li>Better Maintainabi...
What’s New in ASP.NET MVC 2.0? <ul><li>Strongly Typed HTML Helpers </li></ul><ul><li>Templated Views </li></ul><ul><li>Dat...
ASP.NET MVC Best practices  <ul><li>Use a service layer to put application logic. </li></ul><ul><li>Use ViewModel objects ...
Source Code <ul><li>http://RavenMVC.codeplex.com </li></ul><ul><ul><li>ASP.NET MVC 2, RavenDB & Unity 2 </li></ul></ul><ul...
Questions?
Thanks Shiju Varghese Blog :  http:// weblogs.asp.net/shijuvarghese Twitter :  http:// twitter.com/shijucv
Upcoming SlideShare
Loading in...5
×

Introduction to ASP.NET MVC 2

1,363

Published on

Introduction to ASP.NET MVC 2

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

  • Be the first to like this

No Downloads
Views
Total Views
1,363
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
38
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Introduction to ASP.NET MVC 2"

  1. 1. Introducing ASP.NET MVC 2 Shiju Varghese http:// weblogs.asp.net/shijuvarghese
  2. 2. Who am I? <ul><li>Shiju Varghese </li></ul><ul><li>Focus on ASP.NET MVC & DDD </li></ul><ul><li>ASP.NET MVP </li></ul><ul><li>Blog: h ttp:// weblogs.asp.net/shijuvarghese </li></ul><ul><li>Twitter: h ttp:// twitter.com/shijucv </li></ul>
  3. 3. Session Objectives <ul><li>Introduction to ASP.NET MVC </li></ul><ul><li>Demonstrate App building with ASP.NET MVC 2 </li></ul>
  4. 4. What is ASP.NET MVC <ul><li>An alternative framework to ASP.NET Web Forms </li></ul><ul><li>More control over your HTML </li></ul><ul><li>A more easily testable framework </li></ul><ul><li>Simply an option </li></ul><ul><ul><li>Will not a replacement for Web Form </li></ul></ul><ul><ul><li>Build on top of ASP.NET </li></ul></ul><ul><li>MVC Architecture </li></ul>
  5. 5. Demo
  6. 6. Goals of ASP.NET MVC Framework <ul><li>Enable clean separation of concerns </li></ul><ul><ul><li>Each component has one responsibility </li></ul></ul><ul><ul><ul><li>Single Responsibility Principle (SRP) </li></ul></ul></ul><ul><ul><ul><li>Highly testable and maintainable application </li></ul></ul></ul><ul><li>Testable by default (built with TDD in mind) </li></ul><ul><ul><li>Red/Green/Refactor TDD </li></ul></ul><ul><li>Enable full control over the rendered HTML </li></ul><ul><li>Enable clean URLs and HTML </li></ul><ul><ul><li>SEO and REST friendly URL structures </li></ul></ul>
  7. 7. Goals of ASP.NET MVC 2 <ul><li>Enterprise ready </li></ul><ul><li>Better productivity </li></ul><ul><li>Better Maintainability </li></ul>
  8. 8. What’s New in ASP.NET MVC 2.0? <ul><li>Strongly Typed HTML Helpers </li></ul><ul><li>Templated Views </li></ul><ul><li>Data Annotations </li></ul><ul><li>Areas </li></ul>
  9. 9. ASP.NET MVC Best practices <ul><li>Use a service layer to put application logic. </li></ul><ul><li>Use ViewModel objects to pass data for the Views. </li></ul><ul><li>Use AutoMapper to map between ViewModel objects and Domain model objects. </li></ul><ul><li>Use an Inversion of Control or MEF for building loosely coupled software. </li></ul><ul><li>Use your own HTML helpers to keep logic out of your views. </li></ul>
  10. 10. Source Code <ul><li>http://RavenMVC.codeplex.com </li></ul><ul><ul><li>ASP.NET MVC 2, RavenDB & Unity 2 </li></ul></ul><ul><li>For MongoDB version, http://MongoMVC.codeplex.com </li></ul>
  11. 11. Questions?
  12. 12. Thanks Shiju Varghese Blog : http:// weblogs.asp.net/shijuvarghese Twitter : http:// twitter.com/shijucv
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×