This document provides an overview and summary of new features in ASP.NET MVC3 and the MVC3 Tools Update, including the new Razor view engine, dynamic view models, client-side validation by default, JSON model binding support, scaffolding, logging with ELMAH and Glimpse, the Telerik MVC Grid control, and navigation demos. It also discusses the goals of the talk and provides information about the speaker.
2. Housekeeping Stuttering is a communication disorder involving disruptions, or “disfluencies,” in a person’s speech. Across all cultures, roughly 1% of people currently has a stuttering disorder. http://westutter.org/
13. MVC3 Released January 13th 2011 Update to the MVC runtime Introduction of many new features NuGet MVC3 Tools update released April 12th 2011 Update to Visual Studio Tooling Updates included libraries Adds new libraries Does NOT change the MVC3 dll. MVC3? MVC3 Tools Update?
14. New Features in ASP.NET MVC3 New Razor View Engine Dynamic View Models Client-Side Validation Enabled by Default JSON Model Binding Support Tooling Improvements (Project & View Dialog) Global Filters Model Validation Improvements. Request Validation Granularity Enhanced Dependency Injection Support Unobtrusive JQuery Ajax/Validation New ASP.NET Web Pages helper methods HTML Helpers Support HTML 5 Style attributes New ActionResult Types MVC3
16. New Features in Tools Update Does NOT upgrade MVC3 runtime! Intranet Project Template HTML 5 Semantic Markup Full Controller/View Scaffolding Jquery and JS Libraries are Nuget Packages Modernizer EF Code First pre-installed MVC3 Tools Update
17. Razor A new view Engine for ASP.NET MVC Clean and Concise Syntax. Fluid Workflow. Is NOT a new Language. Use existing C# and VB skills Unit Testable WITHOUT a Web Server or ASP.NET Runtime All Existing HTML Helpers work. Even Third Party helpers
18. Code blocks start with @ symbol. No end symbol required ( %>) Web Forms Engine:<h3> <%:Model.Name %> </h3> Razor:<h3> @Model.Name </h3> http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx http://www.asp.net/webmatrix/tutorials/2-introduction-to-asp-net-web-programming-using-the-razor-syntax Razor Syntax
22. ELMAHError Logging Modules and Handlers Logging of nearly all unhandled exceptions. Web page to remotely view the entire log of recoded exception Email Notification Logging!
24. Telerik Grid Control http://demos.telerik.com/aspnet-mvc/ Grid Control Out of the box support for Sorting, Filtering Out of the box paging support Out of the box ajax support Very little javascript you have to write!
New System.Web.Mvc DLLRequires .NET 4.0Only Available in Visual Studio 2010 and Visual Web Developer 2010 (free)Compatible with MVC2, easy upgradeSide by side install is supported. MVC 1, 2 and 3