- Soap - same objects as before
- REST - new to TFS 2015, new objects which usually end with "HttpClient"
also now you need to install Nuget packages to get the TFS API dlls.
Package | Description | Primary usage |
---|---|---|
Microsoft.TeamFoundationServer.ExtendedClient | Integrate with Microsoft Team Foundation Server (2012, 2013, 2015) and Visual Studio Online from desktop-based Windows applications. Work with and manage version control, work items, and build, and other resources from your client application. | Existing Windows apps leveraging an older version of the TFS Client OM. |
Microsoft.TeamFoundationServer.Client | Integrate with Team Foundation Server 2015 and Visual Studio Online from desktop-based, ASP.NET, and other Windows applications. Provides access to version control, work item tracking, build, and more via public REST APIs. | Window desktop apps and services that need to integrate with TFS 2015 and later and Visual Studio Online. |
Microsoft.VisualStudio.Services.Client | Integrate with Team Foundation Server 2015 and Visual Studio Online from desktop-based, ASP.NET, and other Windows applications. Provides access to shared platform services such as account, profile, identity, security, and more via public REST APIs. | Windows desktop apps and services that need to interact with "shared platform" services (account, profile, identity, security, etc). |
Microsoft.VisualStudio.Services.InteractiveClient | Integrate with Team Foundation Server 2015 and Visual Studio Online from desktop-based Windows applications that require interactive sign-in by a user. | Windows desktop applications not utilizing basic authentication or OAuth for authentication. |
as seen in the above table you will need to install the "Microsoft.TeamFoundationServer.ExtendedClient" package to upgrade your old TFS apps.
this package also installs the other packages.
the down side of using these packages is that you get all the references that it contains and you need to remove unnecessary ones (there will be a lot of them).
example for using REST objects can be found at: https://www.visualstudio.com/en-us/integrate/get-started/client-libraries/samples