ASP.NET Dynamic Data is a great innovation for creating data-driven Websites. It provides two key features:
ASP.NET Dynamic Data has been available for awhile in the ASP.NET 3.5 Extensions Preview, released in December 2007. I am happy to announce today that there is an updated ASP.NET Dynamic Data Preview release available on the MSDN Code Gallery, which includes several new features for you to try.
Our goal for providing this release is to gather early feedback that we can use to improve the Dynamic Data feature before the final version is released (anticipated in an upcoming .NET Framework 3.5 service pack). Because these are early pre-release builds, they have not gone through the full QA process that a CTP or service pack goes through before it is released. Be forewarned that these releases are likely to contain bugs or regressions. Please refer to the license terms for the scope of use.
Improvements over the December CTP release include:
How to get the new release:
There is also a great screencast available that demonstrates how to work with this release of ASP.NET Dynamic Data.
I'm glad you asked :-)
One of the things the Web Development Tools team has been working on is providing a wizard experience in Visual Studio for building Dynamic Data -based sites. The Dynamic Data Website Wizard is included with the Dynamic Data Preview release, and will be installed by default when you install this release. It appears in the New Website dialog as a new "Dynamic Data Website Wizard" template. Although this wizard is not yet feature-complete, it is reasonably functional in its current form, so we have included it with this drop in order gather your feedback.
The Dynamic Data Website Wizard provides the following features in this preview release:
This is a very early drop, and therefore it certainly contains its fair share of issues and bugs - please refer to the Code Gallery site for how you can report bugs and feedback. We will continue to provide additional drops in the future that improve on the overall feature set and quality. While the Dynamic Data Wizard is a work-in-progress, we believe that the currently implemented features are of immediate value for building Dynamic Data Web sites, so we wanted to get this into your hands today. As new features are implemented, you can expect to see them appear in future drops on the Code Gallery site. Please also note that the final release timeframe for this wizard has not been determined.
Dynamic Data Website Wizard Screencast
To view the Dynamic Data Website Wizard in action, check out this screencast:
You can also view a larger version of this screencast in the full browser window.
Dynamic Data Website Wizard Walkthrough
You can get started using the Dynamic Data wizard by following these steps:
1. Launch Visual Studio 2008 and choose File > New Website.
2. In the target version drop-down list, select .NET Framework 3.5.
3. Change the language to Visual C#. (Visual Basic support is not is not implemented in this drop.)
4. Select the Dynamic Data Website Wizard (Preview) template and then click OK.
5. Click New Connection to create a connection to a Microsoft SQL Server database.
6. Click Next.
7. Select database tables, views, stored procedures, or functions to include in the data model.
8. Click Next. It will take a few moments while the data model is created and added to the project.
9. Click the Add All link to add custom pages for the selected database tables. (Pages are not generated for views, stored procedures, or functions.)
By default, pages are created under the DynamicData\CustomPages folder of the Web site, and will override the equivalent scaffolded page when scaffolding is enabled.
10. Click Next.
11. Select List and Details nodes in the Website tree and choose customization options in the Properties area.
12. Click Finish.
13. When prompted to overwrite the App_Code folder, select the Apply to all items option, and then click Yes.
When you are done, the wizard will add a data model, a partial-class file for the data model, and custom pages to the project that render lists and details forms by using the ListView and FormView data controls. The data model is registered in the Global.asax file and scaffolding is enabled for all tables in the data model.
We are looking forward to your feedback!
Bradley Millington | Senior Program Manager Lead | Web Development Tools
A few months ago we released an ASP.NET 3.5 Extensions Preview that contained a bunch of new features
When will vb be included in this new drop?
cheers,
yousaid
Hi yousaid,
We'll probably get VB working in the next drop (estimate about a week or so). The reason it's not included in this drop is because for some reason the code model API we use to write to global.asax doesn't work the same in VB as in C#. To register the data model in Global.asax in VB, we need to use a different technique. We've got a design that works now, so we'll be implementing shortly. Stay tuned...
--Bradley | Web Development Tools, Microsoft
Excellent work. Would you be able to provide Link to download screencast?
Great! I will try this new CTP ASAP!
There's a lot of folks excited about ASP.NET MVC as an option for creating ASP.NET websites. As I say
Een paar maanden geleden publiceerden we ASP.NET 3.5 Extensions Preview , die heel wat nieuwe functies
ASP.NET Dynamic Data Preview Available ASP.NET Dynamic Data Preview Released on MSDN Code Gallery ASP.NET...
It's really great to hear that. The last two years, i was waiting to see the time when Microsoft makes the move toward the next generation of Data Driven Applications, and i think this is it. Whilst i'm still thinking that it takes more time for Microsoft to make the good move toward the .NET community (compared to J2EE or LAMP), i can say that with the last wave of Microsoft .NET Extension Frameworks (Entity, MVC, Dynamic Data, ...) we can really enjoy working with Visual Studio, .NET framework and Data Driven Applications.
First of let me say, this is a great tool, loved seeing it in action first time. i ahve a few questions though.
how do i create a 3 tiered app using it. from all the demos and screen casts, it looks like it creates one project. In practical enterprise situations, one needs to have a minimum 3 tiered app. Are there any plans to support that.
Also does it work with Oracle server?
thanks
Disponibile il ASP.NET Dynamic Data Preview
Il y a quelques mois, est sorti la preview des extensions 3.5 d'ASP.NET contenant un lot de nouvelles