Search Wiki:

ASP.NET Dynamic Data Samples


Scaffold Demo

This is a simple application that shows what a fully scaffolded application looks like. It is basically the Dynamic Data project template with the Northwind database added, and with a LINQ for SQL Class generated for all tables. The data model is registered in the Global.asax file and scaffolding is enabled. This shows what a Dynamic Data Web site can do without requiring any code from you. Click to download

Existing Web Site

This is a sample that shows what an address-book Web application might look like coded in ASP.NET version 3.5. You can also see the same address-book application coded by using Dynamic Data. This example shows how much less code is required in order provide basic validation on entry pages. It also shows some examples of how instead of writing code, you add metadata to the data model. Click to download

Database Image API

This sample contains a custom field template for displaying images directly out of a database. The sample comes with a redist directory that contains just the files to add to an existing project. It also contains source code for the image library, and a fully running sample. Click to download A screencast that discusses this example is also available. Click to view

Double Column

This sample shows how to take two columns from the database and expose them in one single column in the data bound control. This is an advanced sample that shows how a field template control can use the Dynamic Data API's to get access to data from other columns and still keep the metadata driven display formatting. Click to download

Dynamic Label

This sample shows how to get access to the main control inside a field template. In this case it makes a special version of the asp:Label control that knows about a field templace and allows setting the AssociatedControlId to the main control inside the field template control. Click to download



If you are looking for samples that work with the 04/23 release of the Dynamic Preview you can view these samples here: Older Dynamic Data Samples
Last edited May 9 2008 at 10:28 AM  by coolcsh, version 6
Comments
devkeydet wrote  Apr 29 2008 at 8:31 PM  
Scaffold Demo & Existing Web Site "Click to download" links don't seem to work. The page says "There was an error downloading the file. It may have been deleted from the server."

Rat1960 wrote  Jan 19 at 1:13 PM  
http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=14473

Updating...
Page view tracker