OData Service for Team Foundation Server 2010

October 26 2011 Update: The beta has been replaced by v1 of this release. Please visit this page. I’m pleased to announce the beta of the OData Service for Team Foundation Server 2010 is now available! What the heck is an OData Service for Team Foundation Server 2010?
I’m glad you asked. The purpose of this project is to help developers work with data from Team Foundation Server on multiple device types (such as smartphones and tablets) and operating systems. OData provides a great solution for this goal, and has been embraced by numerous developers for building great device-specific applications. OData is accessible from any device and application stack which supports HTTP requests. This OData service interacts directly with the
TFS client object model. What is OData? OData exposes a way to work with data over the web. If you’re new to OData, I suggest spending a few minutes at https://www.odata.org/ reading about this evolving standard. It uses interfaces similar to REST, so that you can programmatically consume and manipulate data from any device or application stack which supports HTTP requests. DPE has been working with several organizations (such as PayPal, Facebook, and Netflix) and product groups to enable OData where it makes sense to do so. Team Foundation Server was an obvious choice since it not only allows developers to extend TFS in new and interesting ways, but it also allows us to further showcase support for this evolving standard with the developer community at large. Can I see a demo?
Of course! I filmed a
video for Channel 9 which shows you how to get started using this service. When you’re ready to get started, just download the beta which includes full documentation. The service can be easily hosted in Windows Azure to front-end your own Team Foundation Server instance, or if you want to use this with CodePlex we’ve already hosted this service for you at https://codeplexodata.cloudapp.net/. As long as you have contributor rights on any CodePlex project backed by Team Foundation Server 2010 you can start making OData calls immediately. We also have included a sample Windows Phone 7 application, and WebMatrix Helpers, which show you how to get started building applications which consume this service.

(ignore the blank stare on my face in the screen grab above – this is really far more exciting than the picture implies!) So this is a beta – when will the official release happen?
That all depends on the type of feedback we get, but we’d like to release v1 of this service in the next few months. We are asking users to email their feedback to
TFSOData@Microsoft.com. We’ll do our best to incorporate all feedback into the final release. But the license permits you to take this now (even in beta) and begin using it for real projects. All of the source code is available so you are free to customize it and make it your own. This project is provided as-is and is not officially supported. If I build an application using this service, will users need client access licenses (CAL’s)?
In most cases, they will. Connecting to Team Foundation Server via OData has the same licensing implications as connecting via Team Explorer, the web, or any other client. But there are a few exceptions where users working with Team Foundation Server don’t need CAL’s. Please refer to the
Visual Studio 2010 licensing whitepaper for all of the details.

I hope you enjoy this – if you build something interesting please be sure to drop us a line and let us know!