Upload
goodfriday
View
959
Download
4
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
Data driven apps using dynamic data controls in ASP.net
Polita PaulusSenior SDE
ASP.net
Mahesh PrakriyaLead PMProject Merlin (CLR)
Key Takeaways for ASP.net devsStrong, competitive dynamic data story
Exciting, larger dynamic languages initiative
Dynamic Data Controls
ASP.net
Dynamic Languages Static Languages
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
Dynamic Data Controls in ActionPolita Paulus
demo
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
DDC: Dynamic* set of controls
ListFilterDetailsInsertNavigatorRssAutoData
Dynamic data controls - Performance
Builds on top of asp.net GridViewSqlDataSource (for Mix CTP)
Very little OverheadPerformance is inline with underlying technologies
Dynamic data controls - resources
Available today!Free download at
http://www.asp.net/downloads/futures
@todo: ptr to forums@todo: ptr to quickstarts
Key Takeaways for ASP.net devsStrong, competitive dynamic data story
Exciting, larger dynamic languages initiative
Dynamic Data Controls
ASP.net
Dynamic Languages Static Languages
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
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
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?
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
Announcement Title
announcing
© 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.