Welcome to MSDN Blogs Sign in | Join | Help

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:

 

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.

Published Thursday, May 07, 2009 1:29 AM by scothu
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Dynamic Data Preview 4 Released | ASP NET Hosting

Thursday, May 07, 2009 4:41 AM by Dynamic Data Preview 4 Released | ASP NET Hosting

# <a href="http://www.bnt-pal.com/vb/">ameen</a>

Thursday, May 07, 2009 4:45 AM by ameenlol

# Dynamic Data Preview 4がリリース

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

Thursday, May 07, 2009 5:42 AM by どっとねっとふぁんBlog

# Dynamic Data Preview 4 Released

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

Thursday, May 07, 2009 6:24 AM by What's New

# Rilasciati i Dynamic Data Preview 4

Rilasciati i Dynamic Data Preview 4

Thursday, May 07, 2009 8:08 AM by Around and About .NET World

# Rilasciati i Dynamic Data Preview 4

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

Thursday, May 07, 2009 8:08 AM by Around and About .NET World

# Scott Hunter : Dynamic Data Preview 4 Released

Thank you for submitting this cool story - Trackback from DotNetShoutout

Thursday, May 07, 2009 9:39 AM by DotNetShoutout

# ASP.NET Dynamic Data Preview 4 Available

The latest preview release of ASP.NET Dynamic Data is now available from CodePlex. &#160; These previews

Thursday, May 07, 2009 10:37 AM by Jim O'Neil's Blog

# Dynamic Data Preview 4 Released

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Friday, May 08, 2009 2:50 AM by DotNetKicks.com

# Scott Hunter : Dynamic Data Preview 4 Released

DotNetBurner - burning hot .net content

Friday, May 08, 2009 8:21 AM by DotNetBurner - ASP.net Dynamic Data

# re: Dynamic Data Preview 4 Released

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

Sunday, May 10, 2009 10:58 AM by Michael Washington

# re: Dynamic Data Preview 4 Released

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.

Monday, May 11, 2009 4:11 PM by Darren Gourley

# re: Dynamic Data Preview 4 Released

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

Tuesday, May 12, 2009 7:12 PM by Jon

# ASP 4 - Whirlwind Tour around .NET 4 (and Visual Studio 2010) Beta 1

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

Tuesday, May 19, 2009 7:20 PM by ASPInsiders

# ASP.NET Dynamic Data Resources

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

Saturday, June 06, 2009 12:31 PM by Canadian Developer Connection

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker