ASP.NET Dynamic Data Futures and MVC Sample - Database-Driven Web Applications

ASP.NET Dynamic Data fills a great void for developing forms-over-data web applications. I used it to build a quick intranet application for a client and they couldn't be any happier.

The last couple of days the ASP.NET team has released both the ASP.NET Dynamic Data Futures Samples ( 07/16 ) as well as the ASP.NET Dynamic Data Runtime and Templates ( 07 /18 ) as well as the ASP.NET Dynamic Data for MVC Preview ( 07/18 ). Heck of a lot of stuff to keep straight, but if you do a lot of small, database-driven web applications you will want to spend some time using and customizing ASP.NET Dynamic Data. I put together some ASP.NET Dynamic Data Tutorials, but there have been a number of changes I need to talk about in the near future.

 

ASP.NET Dynamic Data Futures

ASP.NET Dynamic Data Futures is a sample application that shows you some enhancements you may see in ASP.NET Dynamic Data 2.0. The 7/16 release includes:

  • Added ImprovedDynamicValidator control that fixes issues with DynamicValidator
    correctly catching exceptions thrown off a validated data model object. A tag mapping
    in web.config is used to automatically replace all instance of DynamicValidator with
    ImprovedDynamicValidator. This validator is also now added to the ForeignKey_Edit
    template.
  • Fixed a number of issues with the default Style.css stylesheet being to generic.
    Also added the AjaxToolkitFixes.css stylesheet to work around certain issues with using
    Ajax Control Toolkit controls embedded inside of field templates.
  • Added EnumDataTypeAttribute that can be used to mark integral columns as actually
    representing enumerated CLR types.
  • Modified the Enumeration field template and filter template to take
    EnumDataTypeAttribute into account.
  • Modified the Enumeration filter template to detect if an enum is in flags mode
    and display a CheckBoxList instead of a DropDownList.
  • Added validation to the DbImage_Edit template. It now verifies that the provided file
    is a valid image and also that a file is provided at all if the column is required.
  • Added constraints to routes to illustrate how to block invalid requests.

 

ASP.NET Dynamic Data Runtime, Templates and MVC Preview

The ASP.NET Dynamic Data Runtime and Template Release on 7/18 fixes bugs in primarily the Dynamic Data Wizard. The ASP.NET Dynamic Data for MVC Preview shows off how to incorporate the wonderful scaffolding of Dyamic Data with the ASP.NET MVC Framework.

All very cool stuff.

Check out ASP.NET Dynamic Data on CodePlex here.

 

Tags: Code Generation, O/R Mappers, LINQ To SQL

posted on Friday, July 18, 2008 9:41 PM

Main

News

Green Tea

.NET Development

Enterprise Library

Patterns & Practices