Browse by Tags
All Tags »
Team System »
TFS API (
RSS)
Since 2009 I ‘m writing about TFS API and several people asked to get an index page with all parts related to TFS API, so here is it: Basic TFS API Part 1: Domain Picker TFS API Part 2: Domain Picker Using Registered Servers (Cache) TFS API Part 3: Get Project List Using ICommonStructureService TFS API Part 4: Get TFS User List (Mail, Sid, Account, Domain) TFS API Part 7: Use IEventService To Get User Event Subscriptions TFS API Part 8: Subscribe/Unsubscribe Events Using IEventService TFS API Part...
TFS API Part 24 – Get All Fields From TFS I got an email regarding previous post ( TFS API Part 6: WorkItemStore - Get Fields From WorkItemType ) how to get Fields without regard to Work Item Type? This is very easy using Team System API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: Microsoft.TeamFoundation.WorkItemTracking.Client.dll (C:\Program Files (x86)\Microsoft Visual Studio 10.0...
Problem Creating Work Item Store From Web Service (Work Item Tracking Metadata Cache) I create a Web Service for a customer and during the development I had a little problem getting WorkItemStore object. Error 1: Cannot complete the operation. An unexpected error occurred. Stake: at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.HandleComException(Int32 hr) at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.ConnectEx(String connectionString...
TFS API Part 19: Merge In my last post about TFS API TFS API Part 18: More Basic Stuff On Workspaces I demonstrate how to get / create and delete workspaces. In this post I’ll show how to perform Merge using TFS API . First add reference for Microsoft.TeamFoundation Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common.dll Microsoft.TeamFoundation.VersionControl.Client.dll located...
TFS API Part 18: More Basic Stuff On Workspaces In my last post I showed how to TFS API Part 17: Get WorkSpaces Information In this post I’ll show to go couple of basic actions on you workspace. Demo Project First add reference for Microsoft.TeamFoundation Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common.dll Microsoft.TeamFoundation.VersionControl.Client.dll located in - C:\Program Files...
TFS API Part 16: Mapping Source Control Using VersionControlServer In this post I’ll show how to use VersionControlServer class to map your Source Control. This post will be the basic start of how to use VersionControlServer class in TFS API. Download Demo First add reference for Microsoft.TeamFoundation Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common.dll Microsoft.TeamFoundation.VersionControl...
TFS API Summary & My #200 Post It’s been 4 months, 3 weeks(143 days) since my ..::: My #100 Post :::… and still having fun blogging in this great community. A month ago (12/01/09) I’ve stated posting about TFS API. In one month I had more then 450 downloads of my TFS API demos and over 3500 views. Also I got many email regarding TFS API problems, I can clearly say that knowledge in this area is needed! So be sure that I’ll keep posting about TFS API ! Here is a list of the last 15 posts on TFS...
TFS API Part 15: Import Work Item Definition + Validation In my last post TFS API Part 14: Export Work Item Definition we saw how to export specific work item definition from TFS. In this post I’ll show how to import the work item definition to TFS and how to validate the definition. Download Demo First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program...
TFS API Part 14: Export Work Item Definition In this post I’ll show how to Export work item definition using TFS API. This action can be used for Backups script or even for third party for Work Item definition editor . Download Demo First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\ Add using...
TFS API Part 13: More About Connecting TFS (Custom Credentials, Prompt) I got many request regarding TFS Connection, How to connect TFS with Different User name? How to set default user name & password? How to prompt Credentials for TFS? So Here it is. In TFS API Part 1: Domain Picker we saw how to connect TFS using Domain Picker that makes the connect to TFS very easy, But some times we just want to take the TFS server from our Cache ( TFS API Part 2: Domain Picker Using Registered Servers ...
TFS API Part 12: Set Security For Area/Iteration In the previous post I’ve talked about Download Demo First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\ Add using for: using Microsoft.TeamFoundation.Proxy; using Microsoft.TeamFoundation.Server; using Microsoft.TeamFoundation.Client; ...
TFS API Part 10: Add Area/Iteration Programmatically In my last post I talk about TFS API Part 9: Get Area/Iteration Programmatically . In this post I will show how to add Area or Iteration programmatically ICommonStructureService. First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\ Add using...
TFS API Part 9: Get Area/Iteration Programmatically Over the last posts I talked about TFS API Part 7: Use IEventService To Get User Event Subscriptions and TFS API Part 8: Subscribe/Unsubscribe Events Using IEventService . This summing up how to programmatically get / set Event Subscription using TFS API. More about IEventService on later posts. On this post I will show how to get Area and Iteration tree. This can be useful to map your Area/Iteration tree on third party applications. First...
TFS API Part 8: Subscribe/Unsubscribe Events Using IEventService In the last post I wrote about TFS API Part 7: Use IEventService To Get User Event Subscriptions . In this post I’ll show you have to user IEventService to Subscribe new Events and Unsubscribe existingEvents. First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program Files\Microsoft Visual Studio 9...
TFS API Part 7: Use IEventService To Get User Event Subscriptions Over the previous posts I talked about Connecting TFS and Working with WorkItemStore. The following posts will about about more advanced and interesting subjects In this post I’ll show how to use IEventService to get user subscription from tfs . We going to build a WPF application that will collect all users in TFS and show Event Subscriptions for each user. Download Demo First add reference for Microsoft.TeamFoundation, Microsoft...
More Posts
Next page »