Upload
shay-friedman
View
1.783
Download
1
Embed Size (px)
DESCRIPTION
An introduction to ASP.NET MVC presentation. Originally presented on the Epicenter 2010 conference.
Citation preview
http://www.flickr.com/photos/yxejamir/1465293506/
http://www.flickr.com/photos/st3f4n/2856355936/
http://www.flickr.com/photos/jimmyharris/2533977010/
http://www.flickr.com/photos/savetheclocktower/172724622/
http://www.flickr.com/photos/wlscience/2120912089/
Total line count: 2,359 lines
http://www.flickr.com/photos/jernst/238513245/
Agenda • What?
• Why?
• How?
• Where?
• The road ahead – V3
• Q&A
• Summary
What? • New project type of ASP.NET
• Current version: ASP.NET MVC 2
• Open source (MS-PL)
• An option
Why? • Separation of Concerns
• Testability
• Full control over markup
• Clean URLs
• Same providers
• Extensibility
Request Flow
Step 1 Incoming request directed to Controller
1
Controller Request
Request Flow
Step 2
Controller processes request and gets/forms a data Model
1 2
Controller Request
Model
Request Flow
Step 3
Model is passed to View
1 2
Controller
Model
Request
Model
View
3
Request Flow
Step 4
View transforms Model into appropriate output format
1 2
3
Controller
Model
Request
Model
4
View
1 2
Controller
Model
Request
Model
View
3
Request Flow
Step 5
Response is rendered
1 2
4
3
Controller
Model
View Response
5
Request
Model
How?
The Road Ahead - V3 • Better productivity
• Improved AJAX support
• Enhanced extensibility
• Faster than ever
Resources • ASP.NET MVC:
http://asp.net/mvc
• Forums:
http://forums.asp.net/1146.aspx
• MVC Contrib: http://mvccontrib.codeplex.com/
Q&A
Summary • What?
• Why?
• How?
• Where?
• V3