Expose OData Feed Through XPO Toolkit (includes samples)

ASP.NET Team Blog
20 December 2010

ODataCheck out this OData and XPO (our ORM) CodePlex project below.

What is OData?

First, a short explanation of the Open Data Protocol as described by the odata.org website:

There is a vast amount of data available today and data is now being collected and stored at a rate never seen before. Much, if not most, of this data however is locked into specific applications or formats and difficult to access or to integrate into new uses. 

Open Data Protocol (OData) is 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. OData does this by applying and building upon Web technologies such as HTTPAtom Publishing Protocol(AtomPub) and JSON to provide access to information from a variety of applications, services, and stores. The protocol emerged from experiences implementing AtomPub clients and servers in a variety of products over the past several years.  OData is being used to expose and access information from a variety of sources including, but not limited to, relational databases, file systems, content management systems and traditional Web sites.

OData is consistent with the way the Web works - it makes a deep commitment to URIs for resource identification and commits to an HTTP-based, uniform interface for interacting with those resources (just like the Web).   This commitment to core Web principles allows OData to enable a new level of data integration and interoperability across a broad range of clients, servers, services, and tools.

OData is released under the Open Specification Promise to allow anyone to freely interoperate with OData implementations.

Learn more here:  odata.org

Watch Scott Hanselman's "OData Basics" video to get a great overview.

The XPO Toolkit

XPOIf you use eXpress Persistent Objects (XPO) then here’s where it gets fun. There is a free toolkit that allows you to expose your data as an OData feed with just a few lines of code.

Check out the related blog articles on it so far:

Download From CodePlex

Download the project source code and samples here:  eXpress Persistent Objects (XPO) Toolkit


  • Calendar - Example shows how to create an OData feed and consume it using a Scheduler Control
  • Channel - Example shows how to create a Video feed application in Silverlight

Watch Video Webinar

Watch the video of the Introduction to OData webinar to learn about OData and WinForms Scheduler data binding:

Introduction to OData


Azret Botash is our resident OData guru and he'd love to hear from you about anything and everything related to OData.

Try the OData XPO Toolkit and then drop me a line below with your thoughts. Thanks.

I'm on twitter

DXperience? What's That?

DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

Free DevExpress Products – Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We’ll be happy to follow-up.
Tomasz Wisniewski
Tomasz Wisniewski


If I understand right, you need to have the full XPO to use the toolkit from CodePlex?

21 December 2010
Azret Botash (DevExpress)
Azret Botash (DevExpress)

Hi Tomasz,

Yes you need to have full XPO.



22 December 2010
Alex Boston
Alex Boston

Can DomainComponents exposed also?

Can OData used with XAF (not only to expose the data but also to expose the model)?

using OData with XAF and with exposing the data and model itself will result of creating a unified client (a client that dosn't need to be changed in case of model changed)

26 December 2010
Azret Botash (DevExpress)
Azret Botash (DevExpress)


Any XPOObject can be exposted.

>Can OData used with XAF (not only to expose the data but also >to expose the model)?

The answer right now is no :(... but It might change cannot say more :) sorry :(

>using OData with XAF and with exposing the data and model

>itself will result of creating a unified client (a client that dosn't

>need to be changed in case of model changed)

cannot comment sorry :)

3 February 2011

Please login or register to post comments.