Opening TFS to the world via supported "web" API - OData For TFS (Beta) (Oh and you can use OData with CodePlex now too!)
"This sample allows you to expose an OData service for Team Foundation Server 2010. This service can make it easier to work with data from Team Foundation Server on a multitude of devices.
File Name: ODataForTFS2010-SampleSetup-Beta.exe
Date Published: 4/8/2011
The purpose of this project is to help developers work with data from Team Foundation Server on multiple types of devices (such as smartphones and tablets) and operating systems. OData provides a great solution for this goal, since the existing Team Foundation Server 2010 object model only works for applications developed on the Windows platform. The Team Foundation Server 2010 application tier also exposes a number of web services, but these are not supported interfaces and interaction with these web services directly may have unintended side effects. OData, on the other hand, is accessible from any device and application stack which supports HTTP requests. As such, this OData service interacts with the client object model in the SDK (it does not manipulate any web services directly).
For a video demonstration of this service please click here.
We are interested in your feedback on this beta, and we are excited to hear about the types of experiences you create with it. You can email us at TFSOData@Microsoft.com.
There are several components of this sample, and the software requirements depend on how you would like to use it. The list of required software may include the following:
- Microsoft Visual Studio 2010
- Microsoft Visual Studio Team Explorer 2010
- Microsoft Visual Studio Team Foundation Server 2010 (or access to a project hosted on a Team Foundation Server instance hosted by CodePlex.com)
- Microsoft .NET Framework 4; WCF Data Services Toolkit (aka ODataContrib); Internet Information Services 7 (IIS7)
- Windows Azure Tools 1.3 for Microsoft Visual Studio 2010
- (Optional) Windows Phone Developer Tools; (Optional) Microsoft WebMatrix
This could be a awesome opening of TFS to "the world". An official and supported web friendly API for TFS? Awesome...
Here's a snap of the extracted download;
And the included readme;
Also did you catch, "or access to a project hosted on a Team Foundation Server instance hosted by CodePlex.com"?
Looks like if you have a CodePlex project, you can access it via OData? Yep!
The CodePlex OData API Preview is an implementation of the OData protocol built upon the existing Team Foundation Server 2010 API used to connect to CodePlex. The API is subject to change as we get feedback from customers.
To learn more about the OData protocol, you can browse the OData site at http://www.odata.org.
If you have questions or feedback about this service, please email TFSOData@Microsoft.com. Please note that this preview service is provided "as-is", with no guaranteed uptime and is not officially supported by Microsoft. But if you are having problems please let us know and we'll do our best to work with you.
In the following section you will find meaningful information about how to consume data from the CodePlex TFS taking advantage of the CodePlex OData API Preview.
And yep, it works!
Here's any example for my hosted stuff on the TFS01 collection, in LINQPad of course ;)