Using TFS Impersonation with the Version Control Client APIs

Recently I have a received a few emails asking questions about how to use the version control client APIs to create workspaces and check in files with the most recent one also asking if it could be used with TFS Impersonation to record the check ins as if they had been done by a different…

3

Introducing the TfsConnection, TfsConfigurationServer and TfsTeamProjectCollection Classes

If you are familiar with the TFS 2008 client object model then I am sure you have interacted with the TeamFoundationServer object that lived in the Microsoft.TeamFoundation.Client namespace.  It is the starting point for all communication with a 2005 or 2008 Team Foundation Server.  Due to the architectural changes that have been made for TFS…

5

Team Foundation Server: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

Updated 4/21/2010: The Windows patch to solve this problem has been released.  It can be found here. Recently, while dogfooding our internal pioneer server, a few members of our team started to notice this error message when downloading files from TFS: C:\dev\code\somefile.txt: Unable to read data from the transport connection: An existing connection was forcibly…

13

Retrieve the List of Team Project Collections from TFS 2010 Client APIs

If you have started playing with one of the TFS 2010 betas then you have probably noticed the new snazzy connect dialog: For those of you new to TFS 2010, the pane on the left above shows the list of “Team Project Collections” that exist on the TFS Instance that you have connected to.  If…

10

Determine the Currently Executing Statement in a Long Running SQL Stored Procedure

Along with sharing information about TFS, another purpose for this blog will be to share general tips and tricks that I come across while coding.  I have really been trying to improve my SQL Server coding and debugging skills lately so expect SQL Server to be a common theme in these types of posts.  Anyway,…

6

Determining the TFS Server Version Using Client APIs

In today’s software world supporting backward and forward compatibility between different versions of clients and servers for a given product is usually both a headache and a hard-requirement from the customer.  When writing a client application that supports talking to different versions of a server one of the key problems to solve is figuring out…

1

Introducing TFS Impersonation

One of the many things I will be covering in this blog will be the Team Foundation Server APIs and the functionality they offer.  The first example of this will be the new TFS Impersonation API that is new in TFS 2010. Disclaimer: The code presented in this blog post assumes you are using the…

3

Ping

Hello!  If you couldn’t tell from the title of the blog (or if I have undoubtedly changed it) my name is Taylor Lafrinere.  I joined the Team Foundation Server group on July 16, 2007 and have been working as a part of the Enterprise TFS Management and Version Control Platform teams ever since.  The goal…

1