DCSIMG
TFS Administration,TFS API,TFS 2010 - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » TFS Administration » TFS API » TFS 2010 (RSS)
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...
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 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...
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...
TFS API Part 34– Build Basic Actions
TFS API Part 34– Build Basic Actions In my previous post on on TFS API– Get Build Definitions and Build Details I’ve showed how to obtain Builds Definitions and Builds using TFS API. In this post I' used the same project but I’ve added more functionality to the UI that will allow you to perform more actions on the Build item (Stop, Delete etc). Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: First add reference...
ALM Summit Here We Come
ALM Summit Here We Come Application Lifecycle Management for the Microsoft platform will take place as November 16-18, 2010 - Microsoft Redmond. If you are an ALM practitioner, lead, or manager who is passionate about mastering your craft, this is an event you don’t want to miss, and Sela Collage as ALM leader in Israel will be there as a gold sponsor. Sela is going to announce of two tools for TFS and Visual Studio 2010: Scrat – Quality Center 2 TFS 2010 Migration Tool – Home Page Wimbi – More details...
TFS API Part 29 – TFS Impersonation
TFS API Part 29 – TFS Impersonation What is TFS Impersonation? TFS Impersonation is a feature that was introduced in TFS 2010 in order to allow a process running as User A to make web service calls to TFS in such a way that TFS thinks the actions are being performed by User B. A long time ago I wrote about Access Token With C# , a method that will allow you to perform actions with a different user. Why? when writing Tools and services for customers one of the most important features is to perform...
TFS API Part 28 - Test Suite Hierarchy Builder
TFS API Part 28 -Test Suite Hierarchy Builder In my previous post regarding TFS API TFS API Part 27 – Test Plans, Test Suites, Test Cases Mapping , I showed how to create and obtain Test Plans, Test Suite and Test Cases objects. As part of Quality Center to TFS 2010 Migration Tool I’m translating Quality Center hierarchy into Areas in TFS 2010 - as you can see from the following pictures the QC hierarchy(middle picture) looks the same as TFS Areas (left picture) but it’s not feels the same… Feels...
TFS API Part 25: Get TFS User List (Mail Sid, Account, Domain) – TFS 2010
TFS API Part 25: Get TFS User List (Mail Sid, Account, Domain) – TFS 2010 One of my first posts on TFS API I showed how to obtain TFS User List ( TFS API Part 4: Get TFS User List (Mail, Sid, Account, Domain) )m Couple of days ago I got a question how to perform the same thing on TFS 2010, This is very simple: In TFS 2008 the global user group were called = "Team Foundation Valid Users". Identity   SIDS = gss.ReadIdentity( SearchFactor .AccountName,   "Team Foundation Valid...
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...
More Posts Next page »