WCF Data Services and the OData protocol
During the last days, I’ve been watching some cool MIX’10 videos with Scott Hanselman. One of them took my attention specially, which is this one: Beyond File | New Company: From Cheesy Sample to Social Platform.
Scott takes a simple website like nerddinner.com and shows how they tuned it up to enable several different social collaboration, integration and emergent features in it. It is really worth the time watching.
One of the points that really made me curious, was the new OData protocol. It was introduced in.NET 4 with WCF Data Services (formerly ADO.NET Data Services) and aims to unlock data from its silos that exist in major applications today. What’s really impressive about it, is that you are able to query it as a web service and perform complex Linq queries against it (even inserting, updating and deleting are supported!). All this, over a common RESTful Http interface. OData is built upon the AtomPub format, so there is nothing being invented here. This presentation at PDC’09 with Pablo Castro provides further techincal details and I definitely recommend watching if you plan to make use of this technology.
I’m planning on implementing this on a Website CMS I’m working on and will write about my findings, barriers found and solutions here in the near future. Stay tuned.