DCSIMG
TFS API - Shai Raiten

Shai Raiten

 Subscribe

Browse by Tags

All Tags » TFS API (RSS)
TFS API Part 43–Delete Work Item Tool
Tweet In previous post - TFS API Part 21: Delete Work Item using WorkItemStore (Demo Application) I showed how to delete Work Items from TFS using TFS API. My problem was that it not easy to delete work items one by one so I decided to build a tool based on TFS Queries to allow me easily select the work items I want to delete. You can download executable from Here You can download Source Code from Here *** Deleting Work Item Action Is Not Recoverable *** Enjoy
TFS API Part 42 – Getting Started With Lab Management API
Tweet I did some cool things lately with TFS Lab Management API, from connecting it to TFS Web Access and allow REST access to the lab (if you want to ask why – The customer is always right ). So this part of TFS API will deal with Lab Management API, although Lab Management API is not public I’ll show some cool things you can do but this will be under your own risk. Again, this is just the beginning of the Lab Management API, so let’s get started Download Demo Project Step 1: Located “ Microsoft...
TFS API Part 41–Manage Groups and Members
Tweet In the past I’ve showed some examples on how to work with TFS IGroupSecurityService for getting users list, but you can do much more, Create new Group, Add or Remove users from group etc… TFS API Part 25: Get TFS User List (Mail Sid, Account, Domain) – TFS 2010 TFS API Part 4: Get TFS User List (Mail, Sid, Account, Domain) Download Demo Project Step 1: Connect To TFS and Get All Users and Projects As always we need to start with connecting to TFS, but here we’ll also obtain 2 important services...
My Lecture at Munich ALM Days 2011
Tweet The conference was Amazing!!! I had great time in the conference with partners, customers and friends, I didn’t went to most of the lectures (Ich weiß nicht Deutsch spricht) but from the people who presented the presentation and the title there were plenty of interesting lectures. In my lecture I’ve talked about Applied Software Testing with Visual Studio 2010 , I showed demos on Test Manager, Web Performance Test, Load Testing and of course Coded UI Testing. I’ve also talked about Migration...
TFS API Part 40–Build Service Host
Tweet First, what is the Build Service Host or IBuildServiceHost ? The BuildServiceHost object represent the physical location of the Controller and/or Agent objects. The name property is usually the machine name that the Controller or Agent lives on. In earlier versions, this was simply the Machine Name property on the Agent. Now, I’m working with a customer works with Lab Manager and after upgrading the SCVVM and perform some port changes we faced an issue – The Build Service Host stuck in your...
TFS API Part 39 – Show Deleted Items in Source Control
Tweet I got this questions a lot, if this because lots of my customers working with branches and often they delete those old branches or just because someone delete a folder and you want to see its content. There are two ways to see deleted items from source control, the first is through Visual Studio and the second through TFS API. See Deleted Items In Visual Studio: First open visual studio 2010 and open source control Navigate to –> Tools –> Options –> Source Control –> Visual Studio...
How To Change TFS 2010 Attachment Size
CodeProject Here is a post from 2008 on how to change attachment size in TFS 2008 , the same concept is available in 2010 but there is a small confusion about 2010. Many people had problems changing the attachment size in TFS 2010 using the same web service because the following error: 500 Internal Server Error There where people who changes the attachment size using code: TeamFoundationServer tfs = TeamFoundationServerFactory .GetServer( @"yourtfsserver/.../DefaultCollection" ); ITeamFoundationRegistry...
Visual Studio ALM Video & Two Updates for TFS/VS You Should Install
CodeProject Some news for Visual Studio 2010, I’ll start from several updates you should to apply on you TFS and Visual Studio. KB - TFS 2010 SP1 Cumulative Update 1 – KB2536929 This is the first Update from Microsoft since SP1, and the new concept from Microsoft is to release hot fixes for critical bugs, every once in a while when the development team feels they have critical mass of fixes they will publish new Update includes all hot fixes. – So make sure your Visual Studio and TFS are up to date...
TFS API Part 38 – Create Label
In my last post on TFS API I summarize in Index Page include 37 parts - http://blogs.microsoft.co.il/blogs/shair/archive/2011/05/18/tfs-api-index-parts-1-to-37.aspx And I coming back with more about TFS API, and Today about how to create Label using TFS API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: First add reference for Microsoft.TeamFoundation.dll Microsoft.TeamFoundation.Build.Client Microsoft.TeamFoundation...
TFS API Index Parts 1 To 37
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 37 – Create Builds
This is the last of series of 3 about manipulating Build Controllers ( TFS API Part 35 – Create Build Controllers ), Agents and Definitions ( TFS API Part 36 – Create Build Definitions ) and now I’ll complete the series with a demonstration on how to create a new Build and set the Result using TFS API. This can assist you in building Fake definition in order to publish tests or setting a test environment much more easily. Download Demo Project As you can see from the picture above you can define...
Announcing a Java SDK for TFS
Brian Harry just post about Java SDK for TFS The TFS SDK for Java includes the following: A redistributable JAR file containing the TFS API’s. This is a the same Java code that is used by Team Explorer Everywhere in the TFS plug-in for Eclipse and the Cross-platform command line client. It provides access to version control, work item tracking, build and other functionality in TFS from your own Java based application. We ship this as a single JAR file containing all the code and Java dependencies...
TFS API Part 36 – Create Build Definitions
In my last post TFS API Part 35 – Create Build Controllers   I showed how to create Build Controllers using TFS API, this can help create a Fake Build and publish test results outside TFS. This post continue the coding from me previous post, and shows how to create or delete Build Definitions under a specific Team Project. Download Demo Project Step 1: Obtain Build Process Templates and Existing Definition from Team Project private   void ListDefinitionsTeamProjectSelectionChanged( object...
TFS API Part 35 – Create Build Controllers
In my previous post on TFS API is showed some basic actions for TFS Build API - TFS API Part 34– Build Basic Actions In this series I’ll some some more cool things in Build 2010 API, the first thing is a simple flow on how to get the all build definitions from Team Projects, how to obtain the Build Controller from the definition and how to get the Build Agents available in each Controller. Download Demo Project Than we can move forward to how you can use TFS API to create and delete Build Controllers...
TFS Integration Platform Updated Mar 11
TFS Integration Platform Updated Mar 11 Brian Harry just post about a new version released for TFS Integration Platform, This release primarily contains a bunch of bug fixes You can Download from here - http://visualstudiogallery.msdn.microsoft.com/f854dd59-8eeb-4673-8d9a-ae012989bfa2 Still not support for copying Test Cases between Team Projects but you can see my free tool here - Test Case Migrator Between Projects The list of bugs fixes is: VC adapter: code review should use cloaked path for pending...
More Posts Next page »