220 likes | 547 Views
OData -. Jacob Reimers Software Architect , Roche Diagnostics Intl . jacob@reimers.dk @ jjrdk. The Standard and How to Consume it on Win8 / WP8. Agenda. What is OData? 15’ Protocol Overview Ecosystem Benefits Consuming OData ? 30’ Create a Windows Store App
E N D
OData - Jacob Reimers Software Architect, Roche DiagnosticsIntl. jacob@reimers.dk @jjrdk The Standard and How to Consume it on Win8 / WP8
Agenda What is OData? 15’ • Protocol Overview • Ecosystem • Benefits Consuming OData? 30’ • Create a Windows Store App Questions? 5’
Whatis OData? Chapter 1/3
Protocol Overview Description A 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 Standard OASIS Protocol, currently V3 Built on existing standards: • AtomPub • JSON Open to interested participants
Protocol Overview Structured Provides a structured description of a model and the semantics of the operations that can be performed on it. Uniform Provides a uniform way to Expose Structure Manipulate and Query data
Protocol Overview Uniform Service Interface URI Protocol Service Root Resource Path Query Options Metadata Allows description of payload data
Structured • http://nuget.org/api/v2/Packages?$filter=Id+eq+’odata’ Service URI Resource Query
Client and Server Libraries WCF Data Services WCF Data Services 5.0 for OData V3 The official OData client and server library Supports .NET 4 and Silverlight 4 Open Source Libraries Provide support for additional platforms and devices
Consuming OData? Chapter 2/3
Ecosystem Existing Data Sources Nuget - http://nuget.org/api/v2 StackOverflow - http://data.stackexchange.com/stackoverflow/atom Windows Live – Requires registered account Pluralsight - http://www.pluralsight-training.net/odata/ eBay - http://ebayodata.cloudapp.net/docs OGDI DataLab - http://dev.govdata.eu/ DBpedia- http://dbpedia.org/fct Netflix - http://odata.netflix.com/
Demo Building a Windows Store App that uses OData A query of the Nugetpackage feed
Links Information Sources OData site - http://www.odata.org/ OASIS OData TC - https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=odata Chris Woodruff - http://chriswoodruff.com/ Libraries ‘Official’ Library List - http://www.odata.org/libraries/ Linq2Rest - http://nuget.org/packages/linq2rest Linq2Rest.Reactive - http://nuget.org/packages/linq2rest.reactive Pushqa.Server- http://nuget.org/packages/pushqa.server Nancy.Odata - http://nuget.org/packages/nancy.odata
Questions? Chapter 3/3