Mike Flasko Program Manager Microsoft Corporation TL07.

Post on 02-Jan-2016

214 views 1 download

Tags:

transcript

Developing Applications Using Data Services

Mike FlaskoProgram ManagerMicrosoft 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

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

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)

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

A REST Interface For Data

Entity Data Model

URIs

HTTP

Formats

• The underlying model• Entities and associations resources and links

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

Data Services For Rias

Presentation & Behavior

Data(XML, etc)

Data

Presentation, Behavior & Data

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

Data Services For Storage

Presentation & Behavior(HTML & JS)

Data(XML, etc)

Data

Data Services For Storage

Presentation & Behavior(HTML & JS)

Data(XML, etc)

Data

Store archived ‘Alumni’ records in cloud storage

1

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, …)

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

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

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?

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

mike.flasko@microsoft.com

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

Please use the microphones provided

Q&A

Evals & Recordings

Please fill

out your

evaluation for

this session at:

This session will be available as a recording at:

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.