Download ASP.NET MVC 2 Preview 1 - Templated Helpers - Areas - DataAnnotations Validation Support

Scott Guthrie wrote a long post today on ASP.NET MVC 2. Lots of good stuff for a Preview 1. Most of it was expected as it is right on target with the ASP.NET MVC 2.0 Road Map.

ASP.NET MVC 2.0 Preview 1 includes things like:

  • Templated Helpers Support - Templated Helpers allow you to automatically associate templates for editing and displaying values base on the data type. For example, a date picker UI element can be automatically rendered every time data of type System.DateTime is used.
  • Areas Support - ASP.NET MVC 2 includes support for a new feature called "areas" that allow you to more easily partition and group functionality across an MVC application.
  • DataAnnotations Validation Support - ASP.NET MVC 2 now includes built-in support for the DataAnnotation validation support that first shipped with .NET 3.5 SP1 – and which is used with ASP.NET Dynamic Data and .NET RIA Services. DataAnnotations provides an easy way to declaratively add validation rules to Model and ViewModel classes within an application, and have automatic binding and UI helper validation support within ASP.NET MVC.
  • Strongly-Typed UI Helpers - ASP.NET MVC V2 includes new HTML UI helpers that enable you to use strong-typed lambda expressions when referencing the view template’s model object. This enables better compile-time checking of views (so that bugs can be found at build-time as opposed to runtime), and also enables better code intellisense support within view templates.

The Templated Helpers are very much like the ASP.NET DynamicData Field Templates! Very Cool!

Download ASP.NET MVC 2 Preview 1 here.

 

David Hayden

 

ASP.NET MVC Book Reviews

 

posted on Friday, July 31, 2009 9:29 AM

Main

David Hayden Google +

David Hayden Twitter

Health & Fitness

JavaScript Patterns Book Review

HTML 5 and CSS3 - Develop with Tomorrow's Standards Today

Professional ASP.NET Design Patterns Book Review

Beginning Mac Programming Book Review

C# in Depth Book Review

ASP.NET MVC

Orchard CMS

Categories