Download presentation
Presentation is loading. Please wait.
Published byLesley Patrick Modified over 9 years ago
1
ASP.NET MVC 3 and Some 4 JaxCodeCamp August 2011
2
Who Am I David Fekke Software Engineer DMEa Develop iOS software http://www.fekke.com/blog/ JaxDUG, JSSUG and JaxFusion
3
Alan Kay When I invented the term “Object- Oriented”, I did not have C++ in mind. I should have named it “Message- Oriented” instead of “Object-Oriented”
4
“C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off. “ Bjarne Stroustrup
5
“Never trust a computer you can't throw out a window.” Woz
6
80 Percent Statistic 80% software projects FAIL 80% of development is done as code maintenance 80% of statistics are completely useless
7
Fusebox Ruby On Rails DJango JSF Struts Grials.NET Nuke
8
Whats wrong with Web Forms in ASP.NET?
9
Web Forms lends to Spaghetti Code Difficult to maintain IDs get renamed Difficult to introduce Coding Standards
10
Tenets of Frameworks Single Responsibility Principle Convention over Configuration SES and URL routing Good use of Design Patterns Work within Test Driven Development (TDD) Enterprise Scalable Web Applications
11
MVC Design Pattern Separation of Concerns DRY - Don’t Repeat Yourself Better concurrent development
12
.NET 1.0 introduced the Page Model and Code behind.NET 2.0 brought us Master Pages.NET 3.5 came with AJAX
14
MVC stands for Model View Controller
16
New Project Types in VS2008, 2010 Not replacing Web Forms Built on top of ASP.NET Automatic vs. Manual
17
Does not use Web Forms No Form Controls No Script Manager What is Missing
18
Controllers are a special class Controller Class always will have ‘Controller’ in the name Controllers contains action methods Controller Classes
19
Views Views are simple Use ViewData, ViewModel, ViewBag JQuery libs included Partial Views Html helper class
20
Model Anything you want Enterprise Framework ADO.NET NHibernate LINQ Entity Framework
21
Testing Framework built for Unit Testing Test Suite, NUnit or any other test framework
22
Routing Friendly URLs /products.aspx?categoryid=8 /products/puppies Search Engine Safe (SES)
24
ASP.NET MVC 3 Razor View engine Better Binding and Model Validation Unobtrusive Javascript Hooks for Dependency Injection Nuget!
25
Razor
30
Model Validation
31
Unobrusive JavaScript
32
Dependency Resolver Insert favorite DI framework here
33
Demo
34
ASP.NET MVC 4 Whats Next?
35
MVC 4 Roadmap Recipes (Super Scaffolding) Mobile Support Template changes AsycControllers (C# 5 asynchronous) CSS & Javascript bundling WebAPI
36
Orchard Project.NET Sponsored Open Source Project Content Management System Built on MVC 3 NHibernate Project Castle Autofac
37
http://asp.net/mvc Codeplex http://weblogs.asp.net/scottgu/ http://bit.ly/mvc-ebook http://bit.ly/mvcmusicstore Nuget
38
davidfekke@gmail.com http://www.fekke.com/blog/ twitter.com/davidfekke
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.