walther mvc

26

Upload: rsnarayanan

Post on 21-Aug-2015

810 views

Category:

Technology


1 download

TRANSCRIPT

ASP.NET MVCStephen WaltherSenior Program ManagerMicrosoft

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

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)

What is ASP.NET MVC?

ASP.NET Framework

.NET Framework

ASP.NET Web Forms

ASP.NET MVC

ASP.NETAJAX

ASP.NETDynamic Data

What is ASP.NET MVC?

ModelBusiness and Data Access Logic

ViewView logic

ControllerApplication flow logic

What is ASP.NET MVC?

Invented in 1978 for Smalltalk by Trygve Reenskaug

What is ASP.NET MVC?

Used by lots of frameworks includingStrutsTapestrySpringRuby on RailsMerbMonorailDjango

What is ASP.NET MVC?

Enables you to build applications that are resilient to change:

Build Loosely Coupled ApplicationsBuild Testable Applications

Build a Contact Manager Application

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

Build a Contact Manager Application

Walkthrough #2Use the default model binder

Build a Contact Manager Application

Walkthrough #3Add simple validation

Build a Contact Manager Application

Walkthrough #4Refactor using software design patterns

Software Design Patterns

Controller LayerApplication flow control

Service LayerBusiness logic (validation logic)

Repository LayerData access logic

Build a Contact Manager Application

Walkthrough #5Create unit tests

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

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

Build a Contact Manager Application

Walkthrough #6Add Ajax

Summary

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

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

Table Format

Table TitleColumn 1 Column 2 Column 3 Column 4 Column 5

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

ਧੰ�ਨਵਾ�ਦ

ଧନ୍ୟ�ବା�ଦ

நன்றி�

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

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

question & answer

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)

Track Resources

Resource 1

Resource 2

Resource 3

Resource 4

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