Download presentation
Presentation is loading. Please wait.
Published byChristian Bryant Modified over 9 years ago
2
Service Interfaces Atom & AtomPub Atom-Enabled Data Services Drill Down: Windows Live Spaces Photos Data Services Framework Wrap-up
3
Operation-centric vs data-centric interface style depending on the nature of the service Data Centric Spaces Photos, … Spaces Photos, … Application-Based Storage Application-Based Storage SQL Data Services SQL Data Services … … Operations Centric Messenger Messenger Live ID Live ID Alerts Alerts … … Existing interfaces work well New Atom interfaces
4
AtomPub Unified Development Story Visual Studio.NET and Silverlight 2 ASP.NET Integration AJAX library 3 rd party components Consumer Services e.g.: Windows Live Spaces (Photos) Windows Live Spaces (Photos)e.g.: Infrastructure Services e.g.: Application- Based Storage Application- Based Storage SQL Server Data Services SQL Server Data Servicese.g.: Application- Based Storage Application- Based Storage SQL Server Data Services SQL Server Data Services On-Premises Services e.g.: Data Services framework against local SQL Server Data Services framework against local SQL Servere.g.:
5
IETF RFC 4287 XML format Organized in feeds, entries and links Extensible data and metadata …/Folders Folders … John Doe …/Folders(123) Cool Pics … …/Folders Folders … John Doe …/Folders(123) Cool Pics …
6
IETF RFC 5023 Protocol for publishing and editing resources Atom representations over HTTP Simple RESTful interaction model DELETEDELETEPUTPUTPOSTPOST GETGET Server w/ AtomPub interface
7
Photos is part of Windows Live Spaces New experimental AtomPub interface https://cumulus.services.live.com/{id}/AtomSpacesPhotos Authorization via LiveID More information at http://dev.live.com/liveid http://dev.live.com/liveid Check out the delegated authentication SDK Browse and create folders and photos Folders/Photos as Atom feeds and entries Photos are Atom “media link entries”
8
AtomPub does not specify URL format We follow a predictable, uniform pattern DescriptionExample URL Top-level container/Folders Address single entry by ID/Folders(123) Traverse a link/Folders(123)/Photos Addressing can nest as appropriate/Folders(123)/Photos(456)/ImageStreams Access primary value/Folders(123)/Photos(456)/$value Presentation control **$orderby, $filter, $top, $skip, $expand Service metadata/$metadata
9
Any HTTP stack Minimal barrier of entry, retain full control Manually deal with content and interaction AtomPub libraries.NET: WCF Syndication Many available for other environments ADO.NET Data Services Framework Services that follow the ‘Astoria’ conventions First-class support in client-stack
10
aka “Project Astoria” Rich framework for data services Consume existing services Expose your own data as a service Model-driven, uses the Entity Data Model Follows the same patterns as Live services Same HTTP AtomPub-based interface
11
ADO.NET Data Services tools apply across all data services.NET & Silverlight libraries Object-based API, LINQ query support ASP.NET integration AJAX library Tools driven by Entity Data model 3 rd party control vendors for even richer toolbox
12
ADO.NET Data Services Framework Data-centric services AtomPub interface ‘Astoria’ conventions Various data sources Online or on-premises Data Access Layer Entity Framework Custom LINQ provider Relational database Other sources Service Runtime Hosting/HTTP listener HTTPHTTP IQueryable [+ IUpdatable]
13
Service alignment We’re aligning our services on AtomPub First experimental interfaces available Windows Live Spaces Photos Application-Based Storage (experimental service) SQL Server Data Services (soon) Your own services can follow the same interface Rich developer story Unified conventions for URLs and data model Growing tools/components ecosystem Try this out and give us feedback!
14
Sessions RESTful Data Services with the ADO.NET Data Services Framework Developing with Windows Live Introducing SQL Server Data Services Using the Microsoft Sync Framework and FeedSync Building RESTful Real World Applications with the ADO.NET Data Services Framework Also check out the hands-on labs!
15
Windows Live APIs http://dev.live.com ADO.NET Data Services Framework http://astoria.mslivelabs.comhttp://blogs.msdn.com/astoriateamAtomPubhttp://atomenabled.org Contact me http://blogs.msdn.com/pablopablo.castro@microsoft.com
16
© 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.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.