Using OData to Build Great Customer Experiences on Any Device Mark Stafford Program Manager Microsoft Corporation.
Download ReportTranscript Using OData to Build Great Customer Experiences on Any Device Mark Stafford Program Manager Microsoft Corporation.
Using OData to Build Great Customer Experiences on Any Device Mark Stafford Program Manager Microsoft Corporation Overview What is OData? OData vs WCF Data Services vs… What’s new in WCF Data Services? Demos What is OData? OData is a protocol OData uses Web standards to enable data scenarios OData has an ecosystem with many Services (producers) Clients (consumers) SDKs OData is a protocol Resources are access via URLs http://OData/OData.svc/Categories(1)/Products http://OData/OData.svc/Products?$orderby=Rating,Categ ory/Name desc http://OData/OData.svc/Categories(1)/Products?$skip=2 HTTP Operations (GET, POST, etc) enable CRUD Responses are in standard formats (Atom, JSON, etc) OData uses Web Standards Producers and consumers can be implemented for many platforms Technologies like jQuery can function as light clients OData Producers Microsoft (SharePoint, Dynamics) IBM SAP Other Businesses (Netflix, StackOverflow) Governments (US, Canada, UK) OData Consumers Web Browsers Excel Tableau LinqPad OData SDKs .NET Framework Silverlight Javascript Java Ruby Windows Phone 7 Objective-C OData versus… OData is the protocol WCF Data Services is a comprehensive implementation of OData WCF RIA Services attempts to simplify client/server development What’s new? Navigation properties on derived types (sort of) Actions Vocabularies Spatial ODataLib Data Service Providers Provider Use If Entity Framework Provider Your data access layer uses EF LINQ to SQL Provider Your data access layer uses L2S Reflection Provider You have a fairly simple class model but don’t use EF or L2S Custom Provider None of the other providers work Custom Providers Interface Responsible For IDataServiceMetadataProvider Describes the Entity Data Model. IDataServiceQueryProvider Handles GET requests. IDataServiceUpdateProvider Optional. Handles PUT, POST and DELETE requests. IDataServicePagingProvider Optional. Enables paging. IDataServiceStreamProvider Optional. Supports Media Link Entries. demos! Tourism + Coupon = Toupon Where can I learn more? http://odata.org http://blogs.msdn.com/b/astoriateam/ http://blogs.msdn.com/b/alexj/ Give us your feedback! Please help us make TechDays even better by Evaluating this Session. Thank you! © 2011 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.