colin bowern - the not so scary side of asp.net – model view controller in the real world
DESCRIPTION
TRANSCRIPT
- 1. .NET
The Not-So-Scary Side of ASP.NETModel View Controller in the Real World
Colin Bowern
[email protected]
@colinbowern
www.colinbowern.com - 2. Trying new things can be hard...
- 3.
- 4. Where does MVC fit?
ASP.NET
Dynamic Data
Presentation
ASP.NET
WebForms
ASP.NET
MVC
ASP.NET
Core
Runtime - 5. Controller
(Input)
Model
(Logic)
View
(Presentation)
MVC in a Nutshell - 6. MVC in a Nutshell
Controller
Controller
Handles input
(HTTP requests)
Request
View
Visually represents
the model
View
Response - 7. File | New | voil!
Show Me The Code! - 8. Key Tenants of ASP.NET MVC
- 9. Models, Views, And Controllers, Oh MY!
Show Me The Code! - 10. Getting Data into the Controller
Request
Controller
ModelBinders
Incoming Values
Query string
Route
Form
Duties
Re-hydrate request into parameters
Perform basic validation - 11. Passing the dutchie
Show Me The Code! - 12. ASP.NET Runtime
ASP.NET MVC - 13. Run It Here, There and Everywhere
- 14.
- 15. Resources
Microsoft Starting Points
http://microsoft.com/web
http://asp.net/mvc
http://aspnet.codeplex.com
http://codeplex.com/MVCContrib
Community Starting Points
http://channel9.msdn.com/tags/asp.net+mvc
http://haacked.com/
http://stackoverflow.com