Geeks With Blogs
Frank Wang's inspirations on .NET
IEnumerable<Inspiration> inspirations = from i in DataContext.Inspirations where i.Sharable == true select i

A new preview of the ASP.NET Dynamic Data Web Site was made available on April 23, 2008. Some new nice features for Dynamic Data Wizard and routed URLs were included in this release. The Visual Basic language support was added for the first time as well.

In this quick blog post, we will take a look at some of the enhancements to the wizard template. First off, download the latest release from the following URL http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=dynamicdata&ReleaseId=954. The installation process is the same as the 04/08 preview. Unzip your download, launch Visual Studio 2008 Command Prompt, and execute the install.cmd file to begin the installation.

Since I am going to focus on the changes from 04/08 preview, not every single step of the site generation will be listed here. To see how to generate a Dynamic Data web site using the wizard, please refer to my earlier blog post First look at ASP.NET Dynamic Data Web Site Preview.

We will again generate the site from the Northwind database. The tables I selected are Customers, Orders, and OrderDetails. Accept all the files and CRUD methods the wizard has generated for you.

The first change I want to show you is the automatic association with the Site.master page. Open any generated web form in the DynamicData/CustomPages folder and you should see the MasterPageFile is already added in the page direction. In the previous two releases of Dynamic Data, although this site.master file was created for you, you would have to associate it with the content pages manually.

<%@ Page Title="Customers Details" MasterPageFile="~/Site.master" Language="C#" AutoEventWireup="true" CodeFile="Details.aspx.cs" Inherits="CustomersDetails" %>

 

Another cool change in the 04/23 preview is drop-down lists are rendered for foreign-key fields in edit/insert pages.

Foreignkey

JavaScript dialog box has been added to confirm deletions.

image 

For a complete list of changes in this release, please refer to the Release Changes page on MSDN Code Gallery.

The complete source code for this example can be downloaded here.

Posted on Sunday, April 27, 2008 1:43 AM ASP.NET Extensions Preview , ASP.NET Dynamic Data | Back to top


Comments on this post: New Dynamic Data Preview 04/23 Refresh

# re: New Dynamic Data Preview 04/23 Refresh
Requesting Gravatar...
Great information... thanks for sharing...
Left by Net Framework Development on Sep 08, 2008 4:21 AM

# re: New Dynamic Data Preview 04/23 Refresh
Requesting Gravatar...
東京・大阪・名古屋を中心とした高級マンスリーマンション、D-Room Stay。30日からの賃貸マンション・サービスアパートメントに、厳選された上質な家具家電、ゆとりある居住空間をプロデュースしています
Left by マンスリーマンション on Oct 12, 2008 7:27 PM

# re: New Dynamic Data Preview 04/23 Refresh
Requesting Gravatar...
自分の力だけでショップを開くには、在庫管理、商品の宣伝、顧客対応などに追われてしまいますよね。でもドロップシッピングでは、注文が入ってから商品にデザインをプリントしてくれるので、在庫管理の心配や発送やお支払いまで全ておまかせできるんです だから気軽にブログなどで自分のショップが開けてしまうんです 自分のデザインした商品で気軽にショップが開けてしまうなんて嬉しいですね 難しいことは全ておまかせできるので、宣伝にだけ力を入れることができるのも嬉しいです
Left by bad on Oct 22, 2008 1:27 AM

Your comment:
 (will show your gravatar)


Copyright © Frank Wang | Powered by: GeeksWithBlogs.net