TL07 – Developing Applications Using Data Services

Download Report

Transcript TL07 – Developing Applications Using Data Services

TL07
 Mike Flasko
Program Manager
Microsoft Corporation







ADO.NET Data
Services Framework
(on premise or hosted)
Domain Specific
Windows Azure
SQL Data Services
Building Block


Created yourself or third party services




Clients
(Tools, Libraries, etc)
HTTP (AtomPub)
ADO.NET Data
Services Framework
SQL Data Services
SQL Server
(Cloud data service)
(On premises data service)

Entity-set
/Students
Single entity
/Students(1)
Member access
/Students(1)/Name
Link traversal
/Students(1)/ClassRegistrations
Deep access
/Students(1)/ClassRegistrations(2)/Grade
Raw value access
/Students(1)/Photo/$value

Sorting
/Students?$orderby=Name desc
Filtering
/Classes?$filter=substringof(Name, ‘Math’)
Paging
/Students?$top=10&$skip=30
Inline expansion
/Students?$expand=ClassRegistrations
Entity Data
Model
URIs
HTTP
Formats
• The underlying model
• Entities and associations  resources and links
• Every resource is addressable via a URI
• Flexible URI scheme for data retrieval
• Data as resources, HTTP verbs to manipulate it
• Follows AtomPub protocol
• Leverage caching, proxies, authentication, …
• AtomPub, JSON
1.
2.
3.
Data
(XML, etc)
Presentation
Presentation,&
Behavior & Data
Data
3 Consume the
data service from
Silverlight 2
Data
(XML, etc)
Presentation
Presentation,&
Behavior
1 Create an onpremises data
service
2 Refine access to
the data service
• Authorization policy
Data
• Concurrency
• etc
Data
(XML, etc)
Presentation &
Behavior
(HTML & JS)
Data
Data
(XML, etc)
1 Store archived
‘Alumni’ records
in cloud storage
Presentation &
Behavior
(HTML & JS)
Data
Tools
(Visual Studio, …)
Data Service Clients
(Any HTTP client, .NET, SL, ASP.NET,
ASP.NET AJAX, …)
HTTP (AtomPub, …)
ADO.NET Data
Services Framework
(on premise or hosted)
Domain Specific
Windows Azure
SQL Data Services
Building Block













Client
Support
Data
Service
Support
Evolves to
include
flex entities
SQL Data Service
Flex Entities



ADO.NET Data
Services (Astoria)
Evolves to
include
schematized data
Schematized Data


http://blogs.msdn.com/astoriateam




http://blogs.msdn.com/astoriateam

http://forums.microsoft.com/MSDN/ShowForu
m.aspx?ForumID=1430&SiteID=1

http://msdn.microsoft.com/data

[email protected]















www.microsoftpdc.com
© 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.