13. Build a Contact Manager Application Walkthrough #4 Refactor using software design patterns
14. Software Design Patterns Controller Layer Application flow control Service Layer Business logic (validation logic) Repository Layer Data access logic
15. Build a Contact Manager Application Walkthrough #5 Create unit tests
16. 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
17. Test-Driven Development Benefits: Keeps you focused on the right task: YAGNI (You Ain’tGonna 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
19. Summary ASP.NET MVC enables you to build loosely-coupled, highly-testable web applications that can be easily modified over time.
20. 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
24. 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) Required Slide Speakers, please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session.
25. Track Resources Resource 1 Resource 2 Resource 3 Resource 4 Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.