OData -
description
Transcript of OData -
OData -Jacob ReimersSoftware Architect, Roche Diagnostics [email protected]@jjrdk
The Standard and How to Consume it on Win8 / WP8
Agenda
Agenda
What is OData? 15’ Protocol Overview Ecosystem Benefits
Consuming OData?
30’ Create a Windows Store App
Questions?
5’
What is OData?
Chapter 1/3
Protocol Overview
DescriptionA Web protocol for querying and updating data that provides a way to unlock your data and free it from silos that exist in applications today.
Open StandardOASIS Protocol, currently V3Built on existing standards:• AtomPub• JSON
Open to interested participants
Protocol Overview
StructuredProvides a structured description of a model and the semantics of the operations that can be performed on it.
UniformProvides a uniform way to
ExposeStructureManipulate andQuery data
Protocol Overview
Uniform Service InterfaceURI Protocol
Service RootResource PathQuery Options
MetadataAllows description of payload data
Structured
Service URI
Resource
Query
http://nuget.org/api/v2/Packages?$filter=Id+eq+’odata’
Client and Server Libraries
WCF Data ServicesWCF Data Services 5.0 for OData V3The official OData client and server librarySupports .NET 4 and Silverlight 4
Open Source LibrariesProvide support for additional platforms and devices
Consuming OData?
Chapter 2/3
Ecosystem
Existing Data SourcesNuget - http://nuget.org/api/v2StackOverflow - http://data.stackexchange.com/stackoverflow/atomWindows Live – Requires registered accountPluralsight - http://www.pluralsight-training.net/odata/
eBay - http://ebayodata.cloudapp.net/docsOGDI DataLab - http://dev.govdata.eu/DBpedia - http://dbpedia.org/fctNetflix - http://odata.netflix.com/
Demo
Building a Windows Store App that uses ODataA query of the Nuget package feed
Links
Information SourcesOData site - http://www.odata.org/OASIS OData TC - https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=odataChris Woodruff - http://chriswoodruff.com/
Libraries‘Official’ Library List - http://www.odata.org/libraries/Linq2Rest - http://nuget.org/packages/linq2restLinq2Rest.Reactive - http://nuget.org/packages/linq2rest.reactivePushqa.Server - http://nuget.org/packages/pushqa.serverNancy.Odata - http://nuget.org/packages/nancy.odata
Questions?
Chapter 3/3