Your SlideShare is downloading. ×
0
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
Walther Mvc
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

Walther Mvc

780

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
780
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
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. Stephen Walther Senior Program Manager Microsoft
  • 2. Overview of this Talk What is ASP.NET MVC? Build a Contact Manager Application
  • 3. What is ASP.NET MVC? Microsoft’s Newest Framework for Building Web Applications ASP.NET MVC 1.0 Released During MIX (about two months ago)
  • 4. What is ASP.NET MVC? ASP.NET ASP.NET ASP.NET ASP.NET Web Forms MVC AJAX Dynamic Data ASP.NET Framework .NET Framework
  • 5. What is ASP.NET MVC? Model Business and Data Access Logic View View logic Controller Application flow logic
  • 6. What is ASP.NET MVC? Invented in 1978 for Smalltalk by Trygve Reenskaug
  • 7. What is ASP.NET MVC? Used by lots of frameworks including Struts Tapestry Spring Ruby on Rails Merb Monorail Django
  • 8. What is ASP.NET MVC? Enables you to build applications that are resilient to change: Build Loosely Coupled Applications Build Testable Applications
  • 9. Build a Contact Manager Application Walkthrough #1 Build Create, Read, Update, Delete actions
  • 10. Build a Contact Manager Application Walkthrough #2 Use the default model binder
  • 11. Build a Contact Manager Application Walkthrough #3 Add simple validation
  • 12. Build a Contact Manager Application Walkthrough #4 Refactor using software design patterns
  • 13. Software Design Patterns Controller Layer Application flow control Service Layer Business logic (validation logic) Repository Layer Data access logic
  • 14. Build a Contact Manager Application Walkthrough #5 Create unit tests
  • 15. Test-Driven Development Test-Driven Development is a software design methodology: Red – Create a failing test Green – Write just enough code to pass the test Refactor – Improve the design of your code
  • 16. Test-Driven Development Benefits: Keeps you focused on the right task: YAGNI (You Ain’t Gonna Need It) KISS (Keep It Simple Stupid) Continuous Feedback Take short steps and get continuous feedback that you are on the right path. Incremental Design Design becomes part of the development process instead of something done by an architect
  • 17. Build a Contact Manager Application Walkthrough #6 Add Ajax
  • 18. Summary ASP.NET MVC enables you to build loosely- coupled, highly-testable web applications that can be easily modified over time.
  • 19. Resources www.ASP.net/mvc -- The official Microsoft website for all things ASP.NET MVC StephenWalther.com – My blog on ASP.NET MVC Haacked.com – Phil Haack is the Program Manager for ASP.NET MVC
  • 20. Table Format Table Title Column 1 Column 2 Column 3 Column 4 Column 5
  • 21. Related Content Breakout Sessions (session codes and titles) Interactive Theater Sessions (session codes and titles) Hands-on Labs (session codes and titles) Hands-on Labs (session codes and titles)
  • 22. Track Resources Resource 1 Resource 2 Resource 3 Resource 4
  • 23. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

×