+ All Categories
Home > Documents > Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Date post: 12-Jan-2016
Category:
Upload: christine-armstrong
View: 222 times
Download: 0 times
Share this document with a friend
Popular Tags:
20
Developing Data Driven Web Applications Using ASP.NET Dynamic Data David Ebbo Architect Microsoft Corporation
Transcript
Page 1: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Developing Data Driven Web Applications Using ASP.NET Dynamic DataDavid EbboArchitectMicrosoft Corporation

Page 2: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Session Summary

Introducing Dynamic DataDemosRoadmapFeedback and Q&A

Page 3: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Dynamic Data Overview

Easily create powerful data-driven web apps

Get a running app in under a minute!Unleash the power of the schemaCustomizable and reusable

Page 4: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

The traditional approach

Create your modelCreate ASP.NET pagesAdd data controls and data source controlsAdd validation logic in the pageIssues:

Fair bit of work to get startedLogic lives in the wrong placeIgnores valuable schema informationReuse and customization is difficult

Page 5: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

The Dynamic Data approach

Create your modelInstantly get a fully functional app!

Customize the app piece by piece:ModelFieldsPagesRoutes

Page 6: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Getting started

demo

Page 7: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Annotating the model

Metadata on model drives the behaviorDefault metadata inferred from schema

Data types and relationshipsRequired fields, string length, …

Add additional metadataValidationField labels and descriptionsPartial methods

Page 8: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Annotating the model

demo

Page 9: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Field templates

Fields are rendered using templatesSelected based on field data typeHandle rendering, data binding and validation

Template selection can be overriddenSimple ascx files that can easily be reused across projects

Page 10: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Field templates

demo

Page 11: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Customizing pages

Page templatesAffect shared behavior across tables

Custom pages for individual tablesChoose the column setCustomize the rendering

Page 12: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Customizing pages

demo

Page 13: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Routing

Determines how external URLs map to application pagesNew ASP.NET featureAlso used by ASP.NET MVC

Page 14: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Routing

demo

Page 15: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Dynamic Data and MVC

Initial release targets web formsLater release will include MVC supportSame concepts apply

Model metadataPage templatesField templates

Page 16: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Dynamic Data and MVC

demo

Page 17: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Final thoughts

Try the 3.5 Extensions Preview todayNew build coming up in a few weeksForum: http://forums.asp.net/1145.aspxBlogs:

http://blogs.msdn.com/davidebb/http://blogs.msdn.com/scothu/http://blogs.msdn.com/marcinon/

Page 18: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Q&A

For additional Q&A, go to Open Space area in the Sandbox

Page 19: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

© 2008 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.

Page 20: Introducing Dynamic Data DemosRoadmap Feedback and Q&A.

Recommended