slide1
Download
Skip this Video
Download Presentation
WHAT S NEW IN ASP MVC 3 PREVIEW 1

Loading in 2 Seconds...

play fullscreen
1 / 12

WHAT S NEW IN ASP MVC 3 PREVIEW 1 - PowerPoint PPT Presentation


  • 130 Views
  • Uploaded on

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'WHAT S NEW IN ASP MVC 3 PREVIEW 1' - fairly


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
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
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
INDIA │ 18-20 august2010

virtual techdays

  • Add View Dialog
  • Razor View Engine

View Improvements

slide4
INDIA │ 18-20 august2010

virtual techdays

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

slide5
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
INDIA │ 18-20 august2010

virtual techdays

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

slide7
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
INDIA │ 18-20 august2010

virtual techdays

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

slide9
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
INDIA │ 18-20 august2010

virtual techdays

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

slide11
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
THANKS│18-20 august2010

virtual techdays

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

ad