21
Developing Applications Using Data Services Mike Flasko Program Manager Microsoft Corporation TL07

Mike Flasko Program Manager Microsoft Corporation TL07

Embed Size (px)

Citation preview

Page 1: Mike Flasko Program Manager Microsoft Corporation TL07

Developing Applications Using Data Services

Mike FlaskoProgram ManagerMicrosoft Corporation

TL07

Page 2: Mike Flasko Program Manager Microsoft Corporation TL07

Data services landscape Building software + (data) services

applications Data services for RIAs Data services for storage

Roadmap & Futures How to get involved Q&A

Agenda

Page 3: Mike Flasko Program Manager Microsoft Corporation TL07

A spectrum of data services is available for consumption

Created yourself or third party services On-premises or hosted/cloud Characteristics

Simple REST interface Uniform interface (URIs, HTTP & AtomPub)

Data Services Landscape

ADO.NET Data Services Framework

(on premise or hosted)

SQL Data Services

Windows Azure

Domain Specific Building Block

Page 4: Mike Flasko Program Manager Microsoft Corporation TL07

Exploring Data Services

HTTP (AtomPub)

Clients(Tools, Libraries, etc)

SQL Data ServicesADO.NET Data

Services Framework

SQL Server

(On premises data service)(Cloud data service)

Page 5: Mike Flasko Program Manager Microsoft Corporation TL07

URL Conventions

Addressing entities and setsEntity-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

Presentation options

Page 6: Mike Flasko Program Manager Microsoft Corporation TL07

A REST Interface For Data

Entity Data Model

URIs

HTTP

Formats

• The underlying model• Entities and associations resources and links

Page 7: Mike Flasko Program Manager Microsoft Corporation TL07

1. Start with a 3-tier ASP.NET website2. Add a RIA experience using an ADO.NET

Data Service for data access3. Leverage cloud storage data services for

data archival

Building A Software + (Data) Services Application

Page 8: Mike Flasko Program Manager Microsoft Corporation TL07

Data Services For Rias

Presentation & Behavior

Data(XML, etc)

Data

Presentation, Behavior & Data

Page 9: Mike Flasko Program Manager Microsoft Corporation TL07

Data Services For Rias

Presentation & Behavior

Data(XML, etc)

Data

Presentation, Behavior

Create an on- premises data

service

1

Consume the data service from

Silverlight 2

3

Refine access to the data service• Authorization policy• Concurrency• etc

2

Page 10: Mike Flasko Program Manager Microsoft Corporation TL07

Data Services For Storage

Presentation & Behavior(HTML & JS)

Data(XML, etc)

Data

Page 11: Mike Flasko Program Manager Microsoft Corporation TL07

Data Services For Storage

Presentation & Behavior(HTML & JS)

Data(XML, etc)

Data

Store archived ‘Alumni’ records in cloud storage

1

Page 12: Mike Flasko Program Manager Microsoft Corporation TL07

Summary

ADO.NET Data Services Framework

(on premise or hosted)

SQL Data Services

HTTP (AtomPub, …)

Windows Azure

Domain Specific Building Block

Data Service Clients(Any HTTP client, .NET, SL, ASP.NET,

ASP.NET AJAX, …)

Tools(Visual Studio, …)

Page 13: Mike Flasko Program Manager Microsoft Corporation TL07

Roadmap And Futures

ADO.NET Data Services Framework Data bound UI & LOB applications consuming data

services Working with binary content (documents, media, etc)

Automatic BLOB deferral Server side media link entry support

Mashups Support micro formats in feeds Map Entity properties to ATOM-defined elements

“Astoria Offline”

REST interface extensions Server driven paging Expose # results in a set as a URL Containment

Page 14: Mike Flasko Program Manager Microsoft Corporation TL07

ADO.NET Data Services Alignment

Data Service Support

Client Support ADO.NET Data

Services (Astoria)

SQL Data Service

Evolves to include

flex entities

Evolves to include

schematized data

Schematized DataFlex Entities

SQL Data Services will support the ADO.NET Data Services conventions

ADO.NET Data Services will include support for SDS flex entities

Use ADO.NET Data Services clients and tools with on premises and SDS based services

Page 15: Mike Flasko Program Manager Microsoft Corporation TL07

Transparent Design Process Design notes posted to the team blog as we go

(http://blogs.msdn.com/astoriateam) Jump on a post early and its more likely your

comments will shape the product Watch Pablo describe his favorite animal

on video

What Do You Think?

Page 16: Mike Flasko Program Manager Microsoft Corporation TL07

Resources

Team Blog: http://blogs.msdn.com/astoriateam

Online Forum http://forums.microsoft.com/MSDN/ShowForu

m.aspx?ForumID=1430&SiteID=1 Data Developer Center

http://msdn.microsoft.com/data Email me

[email protected]

Page 17: Mike Flasko Program Manager Microsoft Corporation TL07

ADO.NET Data Services Framework TL08 – Astoria Offline TL20 – Entity Framework Futures TL14 – Introducing Velocity

Cloud Services Windows Azure sessions SQL Data Services sessions

ASP.NET PC20 – ASP.NET 4.0 Roadmap PC21 – ASP.NET MVC PC30 – ASP.NET Dynamic Data PC32 – ASP.NET Futures

Related Sessions

Page 18: Mike Flasko Program Manager Microsoft Corporation TL07

Please use the microphones provided

Q&A

Page 19: Mike Flasko Program Manager Microsoft Corporation TL07

Evals & Recordings

Please fill

out your

evaluation for

this session at:

This session will be available as a recording at:

www.microsoftpdc.com

Page 20: Mike Flasko Program Manager Microsoft Corporation TL07

© 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 21: Mike Flasko Program Manager Microsoft Corporation TL07