Dynamic Data Preview 4 Released

Today we released the newest preview release of Dynamic Data. You can view the details and download this release from here: https://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27026.

 

The preview releases of Dynamic Data contain much of the new feature sets that will be available when we release .NET 4. The cool thing is you can start using a lot of the new features against .NET 3.5 SP1 now using these releases.

 

When we look back and see how people view Dynamic Data we regret that people immediately think of it as scaffolding of data. This is something that it does do, and I think it does a pretty good job at it. But Dynamic Data is a lot more then that, providing a new templating mechanism called Field Templates which allow the default markup for many of our built in data controls to be more easily customized. These field templates also support validation by default (something our rich data controls did not) which can be customized by adding metadata to data objects.

 

In the past to enable Dynamic Data functionality in a web application the application needed to follow a couple of rules:

- It had to have a data model such as Entity Framework or Linq to SQL

- The data model had to be registered at startup in Global.asax

- The DynamicData directory had to exist in the web application

 

One of the new features this new preview release supports is adding field templates and validation to any ASP.NET web page without having to meet these requirements. It is as simple as:

 

GridView1.EnableDynamicData(typeof(Product));

 

What does this do for you? Today a control like GridView supports all kinds of high level features such as paging, sorting, viewing, editing but it provides no validation of data at all. So if your database has an integer field the end user would be able to type any data they wanted and when saving the record an ASP.NET yellow screen of death screen would appear (on the development box) saying that the data could not be converted to an integer. By enabling Dynamic Data automatic validation will occur because validation is built into the field templates that would render the column and a nice error message will appear in the page saying “Field XYZ must be an integer”.

 

To see this in action download the preview release and try out the SimpleDynamicDataSample.

Comments

  • Anonymous
    May 06, 2009
    PingBack from http://asp-net-hosting.simplynetdev.com/dynamic-data-preview-4-released/

  • Anonymous
    May 06, 2009
    thx <a href="http://www.bnt-pal.com/vb/">ameen</a>

  • Anonymous
    May 06, 2009
    Dynamic Data Preview 4 Released Dynamic Dataのプレビュー版のバージョンがあがっています。 なにか技術情報があがってくるのは来週はじまるアメリカでのTechEdで、だと思ってたんですが、それより先にでましたね。...

  • Anonymous
    May 06, 2009
    Today we released the newest preview release of Dynamic Data. You can view the details and download this

  • Anonymous
    May 07, 2009
    Rilasciati i Dynamic Data Preview 4

  • Anonymous
    May 07, 2009
    Una grande notizia per tutti gli ASP .NET Dynamic Data : proprio oggi ne è stata rilasciata la Preview

  • Anonymous
    May 07, 2009
    Thank you for submitting this cool story - Trackback from DotNetShoutout

  • Anonymous
    May 07, 2009
    The latest preview release of ASP.NET Dynamic Data is now available from CodePlex. &#160; These previews

  • Anonymous
    May 07, 2009
    You've been kicked (a good thing) - Trackback from DotNetKicks.com

  • Anonymous
    May 08, 2009
    The comment has been removed

  • Anonymous
    May 10, 2009
    Wow I cannot tell you how great this is. David Ebbo worked with me over a year ago as I tried to get Dynamic Data working with DotNetNuke. With DotNetNuke a Module cannot alter the Global.ascx. He came up with a workaround but he always indicated he wanted a "clean solution".

  • Anonymous
    May 11, 2009
    I am getting the following error whenever I try to run the ProjectTemplates: "Could not load file or assembly 'Microsoft.Web.Extensions' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045) " Any help would be appreciated. Thanks.

  • Anonymous
    May 12, 2009
    I'm getting that same error "Could not load.."

  • Anonymous
    May 19, 2009
    Hey, we released Visual Studio 2010 Beta 1. JasonZ has a great post with piles of details and a metric

  • Anonymous
    June 06, 2009
    Articles and Blog Posts Dynamic Data Preview 4 Released (Scott Hunter) Reference and Sites ASP.NET Dynamic

  • Anonymous
    December 31, 2009
    Today we released the newest preview release of Dynamic Data. You can view the details and download this