Your SlideShare is downloading. ×
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,332

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

×