Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data Driven ASP.NET Web Forms Applications Deep Dive

Similar presentations


Presentation on theme: "Data Driven ASP.NET Web Forms Applications Deep Dive"— Presentation transcript:

1

2 Data Driven ASP.NET Web Forms Applications Deep Dive
Jeff King Senior Program Manager Microsoft Session Code: WIA404

3 Session Objectives Understand ASP.NET 4.0 data advancements
RAD data continues to be advanced Model driven development across multiple presentation layers Business logic layer is the future

4 Data Driven Web Apps Today…
Data Controls Data Sources GridView DetailsView FormView ListView DataPager Repeater Object LINQ Entity SQL Access XML Control Arsenal

5 These controls are great,
but we need more…

6 Rich data models Id Primary key Required Integer Name Required String
Max length of 20 Product Number Required Display name of “Number” Size Between 0 and 5

7 We need these semantics reflected in our application…

8 Model-Aware Data Controls
We need two things… Data Model Metadata Validation #1 Model-Aware Data Controls #2

9 demo Model Aware UI

10 What if you wanted more control over the generated UI?

11 Field Templates Model-Aware Data Control Bound to Uses Field Templates
(Integer, String, Date, etc) * Easy extensibility point

12 annotations and controls,
Leverage the same annotations and controls, but control the UI

13 demo Templating

14 What if you wanted even more control?

15 Data controls now… Built on top of the existing controls Data Controls
Data Sources GridView DetailsView Object LINQ Supplemental Controls FormView ListView Entity SQL Dynamic Control Dynamic Field DataPager Repeater Access XML Dynamic Validator Dynamic Data Manager Dynamic Control Parameter Dynamic Query String Parameter Built on top of the existing controls

16 These are what the field templates are using…

17 demo Dynamic Controls

18 model deduce an entire page?
Could our smart UI and model deduce an entire page?

19 Model-Aware Data Controls
Page Templates Data Model Metadata Validation Page Template Model-Aware Data Controls Dynamic Controls Field Templates

20 How about an entire application?

21 Routing Route Table URL Routing Module Dynamic Route Dynamic Route
Request Dynamic Route Ensures: 1) Table 2) Action Dynamic Route Handler Checks for: 1) Custom Page 2) Scaffold Page ASPX Page (Http Handler) Response

22 demo Scaffolding

23 QueryBlock Extender Filtering is hard today
Makes common filtering EASY Range Search Control User Defined Supports Entity Framework Supports Linq to SQL

24 demo QueryBlock Extender

25 Business Layer Data Control Data Source Data Model Data Control
Existing Data Source Controls DomainDataSource Control Data Model Data Source Data Control Data Model Business Layer Data Source Data Control

26 Dynamic Data in ASP.NET 4.0 Entity Templates Filters
Easily change look and feel for tables Automatic templates for ListView and FormView Like field templates but for entire object Filters Templates Based on the new QueryBlock Many to Many (Entity Framework) Inheritance (Entity Framework and Linq to SQL) Field Templates Url, , Enumeration

27 Resources http://www.asp.net/dynamicdata

28 question & answer

29 Resources Required Slide Speakers, www.microsoft.com/teched
TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Resources Sessions On-Demand & Community Microsoft Certification & Training Resources Resources for IT Professionals Resources for Developers

30 Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

31 Required Slide © 2009 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.


Download ppt "Data Driven ASP.NET Web Forms Applications Deep Dive"

Similar presentations


Ads by Google