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: http://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:




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 (16)

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

  2. What's New says:

    Today we released the newest preview release of Dynamic Data. You can view the details and download this

  3. Rilasciati i Dynamic Data Preview 4

  4. Una grande notizia per tutti gli ASP .NET Dynamic Data : proprio oggi ne è stata rilasciata la Preview

  5. Thank you for submitting this cool story – Trackback from DotNetShoutout

  6. The latest preview release of ASP.NET Dynamic Data is now available from CodePlex.   These previews

  7. You’ve been kicked (a good thing) – Trackback from DotNetKicks.com

  8. DotNetBurner – burning hot .net content

  9. 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".

  10. Darren Gourley says:

    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.

  11. Jon says:

    I’m getting that same error "Could not load.."

  12. ASPInsiders says:

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

  13. Articles and Blog Posts Dynamic Data Preview 4 Released (Scott Hunter) Reference and Sites ASP.NET Dynamic

  14. ameen says:

    Today we released the newest preview release of Dynamic Data. You can view the details and download this