DCSIMG
.NET 3.5,TECH,TFS API - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » .NET 3.5 » TECH » TFS API (RSS)
TFS API Part 24 – Get All Fields From TFS
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...
TFS API Part 19: Merge
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 16: Mapping Source Control Using VersionControlServer
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
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
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
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)
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
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 11: Get Area/Iteration Security Settings Using IAuthorizationService
TFS API Part 11: Get Area/Iteration Security Settings Using IAuthorizationService In the previous post TFS API Part 9: Get Area/Iteration Programmatically I talked about how to get Area/Iteration nodes from TFS. In this post I’ll show to get Area/Iteration security settings using TFS IAuthorizationService.   Download Demo First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll...
TFS API Part 10: Add Area/Iteration Programmatically
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
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
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
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...
TFS API Part 6: WorkItemStore - Get Fields From WorkItemType
TFS API Part 6: WorkItemStore - Get Fields From WorkItemType In TFS API Part 5: WorkItemStore - Get Project Details (WorkItemTypes, Queries) we use WorkItemStore to get all work item type from TFS. In this post I’ll show how to take all fields for a specific Work Type. 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...
TFS API Part 5: WorkItemStore - Get Project Details (WorkItemTypes, Queries)
TFS API Part 5: WorkItemStore - Get Project Details (WorkItemTypes, Queries) In TFS API Part 3: Get Project List Using ICommonStructureService we I use ICommonStructureService to get Team Projects. In this post I’ll show how to use WorkItemStore to perform the same action, and take lots more information about the project. First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located...
More Posts Next page »