1 / 12

virtual techdays

INDIA │ 18-20 august 2010. virtual techdays. WHAT’S NEW IN ASP.NET MVC 3 PREVIEW 1. Ashic Mahtab │ Software Architect, www.earthware.co.uk. INDIA │ 18-20 august 2010. virtual techdays. View Improvements Controller Improvements Validation Improvements

fairly
Download Presentation

virtual techdays

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. INDIA │ 18-20 august2010 virtual techdays WHAT’S NEW IN ASP.NET MVC 3 PREVIEW 1 Ashic Mahtab │ Software Architect, www.earthware.co.uk

  2. INDIA │ 18-20 august2010 virtual techdays • View Improvements • Controller Improvements • Validation Improvements • Dependency Injection Improvements S E S S I O N A G E N D A

  3. INDIA │ 18-20 august2010 virtual techdays • Add View Dialog • Razor View Engine View Improvements

  4. INDIA │ 18-20 august2010 virtual techdays DEMO: View Improvements in ASP.NET MVC 3 Preview 1

  5. INDIA │ 18-20 august2010 virtual techdays • Global Filters • Dynamic ViewModel • New ActionResultTypes • HttpNotFound • PermanentRedirect • StatusCode • Json Binding • Future Improvements: Unobtrusive Javascript, Helper Support for jQuery Validation Controller Improvements

  6. INDIA │ 18-20 august2010 virtual techdays DEMO: Controller Improvements in ASP.NET MVC 3 Preview 1

  7. INDIA │ 18-20 august2010 virtual techdays • HonoursDataAnnotations Attributes like DisplayAttribute • .NET 4.0 ValidationAttribute has new IsValid overload that passes in current ValidationContext • IValidatableObject simplifies validation with multiple properties • IClientValidateable interface make creating ValidationAttributes with client side behaviour much simpler. • IMetadaAware interface lets you contribute to the ModelMetadata creation process Validation Improvements

  8. INDIA │ 18-20 august2010 virtual techdays DEMO: Validation Improvements in ASP.NET MVC 3 Preview 1

  9. INDIA │ 18-20 august2010 virtual techdays • In Preview 1: • Controllers (registering & injecting controller factories, injecting controllers) • Views (registering & injecting view engines, injecting dependencies into view pages) • Action Filters (locating & injecting filters) • In Future: • Model Binders (registering & injecting) • Value Providers (registering & injecting) • Validation Providers (registering & injecting) • Model metadata Providers (registering & injecting) • Limitations Dependency Injection Improvements

  10. INDIA │ 18-20 august2010 virtual techdays DEMO: Dependency Injection in ASP.NET MVC 3 Preview 1

  11. INDIA │ 18-20 august2010 virtual techdays • Download ASP.NET MVC 3 Preview 1 • Binaries: http://bit.ly/ahs64M • Source: http://aspnet.codeplex.com/releases/view/50092 • Blogs • http://weblogs.asp.net/scottgu/archive/2010/07/27/introducing-asp-net-mvc-3-preview-1.aspx • http://bradwilson.typepad.com/blog/2010/07/service-location-pt1-introduction.html • Podcasts / Videos • Scott Hanselman: http://bit.ly/9bJ0JP • Hanselminutes with Phil Haack: http://bit.ly/dxRTxG • www.asp.net and http://forums.asp.net RESOURCES

  12. THANKS│18-20 august2010 virtual techdays ashic@live.com │ http://www.heartysoft.com

More Related