Your SlideShare is downloading. ×
0
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Introduction to ASP.NET MVC 2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction to ASP.NET MVC 2

1,353

Published on

Introduction to ASP.NET MVC 2

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,353
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
38
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. Introducing ASP.NET MVC 2 Shiju Varghese http:// weblogs.asp.net/shijuvarghese
  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. Session Objectives <ul><li>Introduction to ASP.NET MVC </li></ul><ul><li>Demonstrate App building with ASP.NET MVC 2 </li></ul>
  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. Demo
  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. 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. 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. 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. 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. Questions?
  12. Thanks Shiju Varghese Blog : http:// weblogs.asp.net/shijuvarghese Twitter : http:// twitter.com/shijucv

×