17

Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Embed Size (px)

DESCRIPTION

ASP.NET dynamic data controls are part of a powerful, rich new framework that lets you create data driven ASP.NET applications extremely easily. ASP.NET dynamic data controls do this by automatically discovering the schema at runtime, deriving behavior from the database and finally creating an ASP.NET page.

Citation preview

Page 1: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET
Page 2: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Data driven apps using dynamic data controls in ASP.net

Polita PaulusSenior SDE

ASP.net

Mahesh PrakriyaLead PMProject Merlin (CLR)

Page 3: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Key Takeaways for ASP.net devsStrong, competitive dynamic data story

Exciting, larger dynamic languages initiative

Dynamic Data Controls

ASP.net

Dynamic Languages Static Languages

Page 4: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Dynamic Data Controls - Overview

Easily build a data-bound application from scratch

Start with only a database

Dynamic rendering based on database schema

Can incrementally customize the default behavior

Declaratively using familiar ASP.NET controls

Programmatically using VB, C# or IPy methods

http://www.asp.net/downloads/futures

Page 5: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Dynamic Data Controls in ActionPolita Paulus

demo

Page 6: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Dynamic Data Controls - Recap

1. Start with a database• e.g. pubs.mdf in App_Data

2. Set AllTables in config• e.g. <dynamicDataControls showAllTables="true" … />

Optional Details3. Name a page after one or more Tables• e.g. Authors.aspx

4. Use one of <asp:Dynamic* > set of controls• e.g. AutoData

Page 7: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

DDC: Dynamic* set of controls

ListFilterDetailsInsertNavigatorRssAutoData

Page 8: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Dynamic data controls - Performance

Builds on top of asp.net GridViewSqlDataSource (for Mix CTP)

Very little OverheadPerformance is inline with underlying technologies

Page 9: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Dynamic data controls - resources

Available today!Free download at

http://www.asp.net/downloads/futures

@todo: ptr to forums@todo: ptr to quickstarts

Page 10: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Key Takeaways for ASP.net devsStrong, competitive dynamic data story

Exciting, larger dynamic languages initiative

Dynamic Data Controls

ASP.net

Dynamic Languages Static Languages

Page 11: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Dynamic Languages Initiative

Microsoft Confidential 11

DLR

Dynamic Languages VBX JScript

IronPython Ruby3rd Party langs

CLR

Frameworks

VS Integration

Tools

Scripting HostsApplications

ASP.NET Silverlight

Page 12: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

IronPython with ASP.NET

Bring the best Web framework (ASP.NET) to IronPythonAdds new language choice for ASP.NETMarriage of best of breed technologies

Bring IronPython & dynamic languages to ASP.NET

CTP: www.asp.net/ironpython IronPython for ASP.NET

IronPython ASP.NET

Page 13: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Dynamic LanguagesStatic Languages

Parse Page

Generate Source Code

Compile into Assembly

Load Assembly

Instantiate Control Tree

Process Request

Parse Page

Create Control Builder Tree

Instantiate Control Tree

Process Request(Compiling Python code as needed)

Per

Req

uest

Create CodeDOM Tree

How does it work?

Page 14: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Summary / Call to Action

Strong, dynamic data storyBroad dynamic languages initiative

Just announced at Mix07

Call to Action:Download the CTP: http://www.asp.net/downloads/futuresSend us your feedback! Regular refreshes based on your feedback

Page 16: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

Announcement Title

announcing

Page 17: Developing Data Driven Applications Using the New Dynamic Data Controls in ASP.NET

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions,

it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.