Slide1 l.jpg
This presentation is the property of its rightful owner.
Sponsored Links
1 / 12

virtual techdays PowerPoint PPT Presentation


  • 91 Views
  • Uploaded on
  • Presentation posted in: General

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

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Slide1 l.jpg

INDIA │ 18-20 august2010

virtual techdays

WHAT’S NEW IN ASP.NET MVC 3 PREVIEW 1

Ashic Mahtab │ Software Architect, www.earthware.co.uk


Slide2 l.jpg

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


Slide3 l.jpg

INDIA │ 18-20 august2010

virtual techdays

  • Add View Dialog

  • Razor View Engine

View Improvements


Slide4 l.jpg

INDIA │ 18-20 august2010

virtual techdays

DEMO: View Improvements in ASP.NET MVC 3 Preview 1


Slide5 l.jpg

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


Slide6 l.jpg

INDIA │ 18-20 august2010

virtual techdays

DEMO: Controller Improvements in ASP.NET MVC 3 Preview 1


Slide7 l.jpg

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


Slide8 l.jpg

INDIA │ 18-20 august2010

virtual techdays

DEMO: Validation Improvements in ASP.NET MVC 3 Preview 1


Slide9 l.jpg

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


Slide10 l.jpg

INDIA │ 18-20 august2010

virtual techdays

DEMO: Dependency Injection in ASP.NET MVC 3 Preview 1


Slide11 l.jpg

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


Slide12 l.jpg

THANKS│18-20 august2010

virtual techdays

[email protected] │ http://www.heartysoft.com


  • Login