Blogs

News

Email Subscriptions

Mehul Harry's DevExpress Blog

Expose OData Feed Through XPO Toolkit (includes samples)

     

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

Samples:

  • 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/

Published Dec 20 2010, 04:00 PM by Mehul Harry (DevExpress)
Filed under: ,
Technorati tags: XPO, OData
Bookmark and Share

Comments

 

Tomasz Wisniewski said:

Hi,

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

December 21, 2010 10:06 AM
 

Azret Botash (DevExpress) said:

Hi Tomasz,

Yes you need to have full XPO.

Cheers

Azret

December 22, 2010 1:04 PM
 

Alex Boston said:

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)

December 26, 2010 1:49 AM
 

Azret Botash (DevExpress) said:

Monzer,

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 :)

February 3, 2011 3:05 PM

About Mehul Harry (DevExpress)

Mehul Harry is an ASP.NET technical evangelist at Developer Express. You can reach him directly at mharry@DevExpress.com. You can also follow him on Twitter: http://twitter.com/mehulharry
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.