+ All Categories
Home > Technology > Stephen Walther : ASP.NET MVC - Tech-ed 2009

Stephen Walther : ASP.NET MVC - Tech-ed 2009

Date post: 26-May-2015
Category:
Upload: nithinmohantk
View: 1,947 times
Download: 4 times
Share this document with a friend
Popular Tags:
26
Transcript
Page 1: Stephen Walther : ASP.NET MVC - Tech-ed 2009
Page 2: Stephen Walther : ASP.NET MVC - Tech-ed 2009

ASP.NET MVCStephen WaltherSenior Program ManagerMicrosoft

Page 3: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Overview of this TalkWhat is ASP.NET MVC?Build a Contact Manager Application

Page 4: Stephen Walther : ASP.NET MVC - Tech-ed 2009

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)

Page 5: Stephen Walther : ASP.NET MVC - Tech-ed 2009

What is ASP.NET MVC?

ASP.NET Framework

.NET Framework

ASP.NET Web Forms

ASP.NET MVC

ASP.NETAJAX

ASP.NETDynamic Data

Page 6: Stephen Walther : ASP.NET MVC - Tech-ed 2009

What is ASP.NET MVC?

ModelBusiness and Data Access Logic

ViewView logic

ControllerApplication flow logic

Page 7: Stephen Walther : ASP.NET MVC - Tech-ed 2009

What is ASP.NET MVC?

Invented in 1978 for Smalltalk by Trygve Reenskaug

Page 8: Stephen Walther : ASP.NET MVC - Tech-ed 2009

What is ASP.NET MVC?

Used by lots of frameworks includingStrutsTapestrySpringRuby on RailsMerbMonorailDjango

Page 9: Stephen Walther : ASP.NET MVC - Tech-ed 2009

What is ASP.NET MVC?

Enables you to build applications that are resilient to change:

Build Loosely Coupled ApplicationsBuild Testable Applications

Page 10: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Build a Contact Manager Application

Walkthrough #1 Build Create, Read, Update, Delete actions

Page 11: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Build a Contact Manager Application

Walkthrough #2Use the default model binder

Page 12: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Build a Contact Manager Application

Walkthrough #3Add simple validation

Page 13: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Build a Contact Manager Application

Walkthrough #4Refactor using software design patterns

Page 14: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Software Design Patterns

Controller LayerApplication flow control

Service LayerBusiness logic (validation logic)

Repository LayerData access logic

Page 15: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Build a Contact Manager Application

Walkthrough #5Create unit tests

Page 16: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Test-Driven Development

Test-Driven Development is a software design methodology:

Red – Create a failing testGreen – Write just enough code to pass the testRefactor – Improve the design of your code

Page 17: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Test-Driven Development

Benefits:Keeps you focused on the right task:

YAGNI (You Ain’t Gonna Need It) KISS (Keep It Simple Stupid)

Continuous FeedbackTake short steps and get continuous feedback that you are on the right path.

Incremental DesignDesign becomes part of the development process instead of something done by an architect

Page 18: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Build a Contact Manager Application

Walkthrough #6Add Ajax

Page 19: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Summary

ASP.NET MVC enables you to build loosely-coupled, highly-testable web applications that can be easily modified over time.

Page 20: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Resources

www.ASP.net/mvc -- The official Microsoft website for all things ASP.NET MVCStephenWalther.com – My blog on ASP.NET MVCHaacked.com – Phil Haack is the Program Manager for ASP.NET MVC

Page 21: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Table Format

Table TitleColumn 1 Column 2 Column 3 Column 4 Column 5

Page 22: Stephen Walther : ASP.NET MVC - Tech-ed 2009

धन्यवा�दઆભા�ર ধন্য�বা�দ

ਧੰ�ਨਵਾ�ਦ

ଧନ୍ୟ�ବା�ଦ

நன்றி�

ధన్య�వాదాలు� ಧನ್ಯ�ವಾ�ದಗಳು

നി�ങ്ങള്‍‌ക്ക്� നിന്ദി�

Page 23: Stephen Walther : ASP.NET MVC - Tech-ed 2009

question & answer

Page 24: Stephen Walther : ASP.NET MVC - Tech-ed 2009

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)

Page 25: Stephen Walther : ASP.NET MVC - Tech-ed 2009

Track Resources

Resource 1

Resource 2

Resource 3

Resource 4

Page 26: Stephen Walther : ASP.NET MVC - Tech-ed 2009

© 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.


Recommended