Advanced MVC3

4,083 views

Published on

In this talk we will be taking an in depth look at ASP.NET MVC3. Many of the new features in the version 3 release will be covered, as well as new features provided by the recent MVC3 tools update. We will take a detailed look at the powerful new Razor view engine, examining it’s syntax and looking at how it is different from the standard aspx view engine. In addition, we’ll examine at a few open source frameworks that will speed your asp.net mvc development time and provide functionality such as scaffolding, logging, diagnostics and advanced mvc grids. Along the way we’ll cover some best practices for developing MVC3 web apps and I’ll show you some of the extensibility features of the framework.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
4,083
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
130
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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
  • Advanced MVC3

    1. 1. Advanced ASP.NET MVC3<br />
    2. 2. Housekeeping<br />Stuttering is a communication disorder involving disruptions, or “disfluencies,” in a person’s speech.<br />Across all cultures, roughly 1% of people currently has a stuttering disorder.<br />http://westutter.org/<br />
    3. 3. HattanShobokshi<br />Senior Software Engineer<br />www.hattanshobokshi.com<br />hattan@gmail.com<br />http://speakerrate.com/hattan<br />Who am I?<br />
    4. 4. <ul><li>Brief Overview of new features
    5. 5. Introduce MVC3 & MVC3 Tools Update
    6. 6. MVC3 DEMO
    7. 7. Scaffolding
    8. 8. Logging
    9. 9. Glimpse
    10. 10. Telerik MVC Grid
    11. 11. Navigation Demo
    12. 12. QA</li></ul>Goals for this talk<br />
    13. 13. MVC3 Released January 13th 2011<br />Update to the MVC runtime<br />Introduction of many new features<br />NuGet<br />MVC3 Tools update released April 12th 2011<br />Update to Visual Studio Tooling<br />Updates included libraries<br />Adds new libraries<br />Does NOT change the MVC3 dll.<br />MVC3? MVC3 Tools Update?<br />
    14. 14. New Features in ASP.NET MVC3<br />New Razor View Engine<br />Dynamic View Models<br />Client-Side Validation Enabled by Default<br />JSON Model Binding Support<br />Tooling Improvements (Project & View Dialog)<br />Global Filters<br />Model Validation Improvements.<br />Request Validation Granularity<br />Enhanced Dependency Injection Support<br />Unobtrusive JQuery Ajax/Validation<br />New ASP.NET Web Pages helper methods<br />HTML Helpers Support HTML 5 Style attributes<br />New ActionResult Types<br />MVC3<br />
    15. 15. Skills Transfer<br />
    16. 16. New Features in Tools Update <br />Does NOT upgrade MVC3 runtime!<br />Intranet Project Template<br />HTML 5 Semantic Markup<br />Full Controller/View Scaffolding<br />Jquery and JS Libraries are Nuget Packages<br />Modernizer<br />EF Code First pre-installed<br />MVC3 Tools Update<br />
    17. 17. Razor<br />A new view Engine for ASP.NET MVC<br />Clean and Concise Syntax. Fluid Workflow.<br />Is NOT a new Language. Use existing C# and VB skills<br />Unit Testable WITHOUT a Web Server or ASP.NET Runtime<br />All Existing HTML Helpers work. Even Third Party helpers<br />
    18. 18. Code blocks start with @ symbol. No end symbol required ( %>)<br />Web Forms Engine:<h3> <%:Model.Name %> </h3><br />Razor:<h3> @Model.Name </h3><br />http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx<br />http://www.asp.net/webmatrix/tutorials/2-introduction-to-asp-net-web-programming-using-the-razor-syntax<br />Razor Syntax <br />
    19. 19. Razor Syntax <br />
    20. 20. DEMO<br />
    21. 21. MVCScaffolding Demo<br />
    22. 22. ELMAHError Logging Modules and Handlers<br />Logging of nearly all unhandled exceptions. <br />Web page to remotely view the entire log of recoded exception<br />Email Notification<br />Logging!<br />
    23. 23. GetGlimpse.com<br />Glimpse<br />
    24. 24. Telerik Grid Control<br />http://demos.telerik.com/aspnet-mvc/<br />Grid Control<br />Out of the box support for Sorting, Filtering<br />Out of the box paging support<br />Out of the box ajax support<br />Very little javascript you have to write! <br />
    25. 25. Navigation Demo<br />
    26. 26. <ul><li>Brief Overview of new features
    27. 27. Introduce MVC3 & MVC3 Tools Update
    28. 28. MVC3 DEMO
    29. 29. Scaffolding
    30. 30. Logging
    31. 31. Glimpse
    32. 32. Telerik MVC Grid
    33. 33. Navigation Demo
    34. 34. QA</li></ul>What did we just talk about?<br />
    35. 35. Thank you!<br />

    ×