Configure TFS to use RSA clearTrust

28/02/2008

Configure TFS to use RSA clearTrust Objectives Learn key remote access scenarios and when to apply them. Provide remote access to your Microsoft® Visual Studio® 2005 Team Foundation Server (TFS) over the Internet. Improve remote access performance by using the Team Foundation Server Proxy. Overview This chapter explains how to provide remote access to TFS over the Internet. You can choose from one of the following three options in order to provide remote access: ...
no comments

Python for .Net

27/02/2008

Python for .Net Python for .NET is available as a source release and as a Windows installer for various versions of Python and the common language runtime from the Python for .NET. Here is a small tutorial for getting started: Importing Modules from System import String from System.Collections import * import clr clr.AddReference("System.Windows.Forms") from System.Windows.Forms import Form Using Classes from System.Drawing import Point p = Point(5, 5) Using Generics from System.Collections.Generic import Dictionary from System import * dict1 = Dictionary() dict2 = Dictionary() dict3 = Dictionary() Fields And Properties from System import Environment name = Environment.MachineName Environment.ExitCode = 1 Using Indexers from System.Collections import Hashtable table =...
no comments

Cookie Collection and CookieContainer

26/02/2008

Cookie Collection and CookieContainer When using System.Net or Web Services, you might want to receive or send cookies, perhaps for session state maintenance or in some rare situations for proxy authentication. The first thing we are tempted to do is to access WebResponse.Cookies collection. But then it returns no cookies. Why? It turns out that unless you assign a CookieContainer to the WebRequest, you won't be able to get the WebResponse.Cookies. It is not very intuitive. Why would I need to create a cookie container to get cookies? Notice that you need to create a cookie container but then you...
2 comments

Get List of Workspaces from TFS Server

Get List of Workspaces from TFS Server Here is three ways to do this, Using the "Workspaces Command". Download Workspace Sidekick for UI option. Our you can write it using Team System API: private void GetWorkspace() { TeamFoundationServer server = ServerConnection.ConnectTfs(*TFS Name*); VersionControlServer vcs = (VersionControlServer)server.GetService(typeof(VersionControlServer)); Workspace wss = GetWorkspaces(); foreach (Workspace ws in wss) { //ws.Name.ToString(); } } public Workspace GetWorkspaces() { try { return vcs.QueryWorkspaces(null,...
one comment

Python

25/02/2008

Python Yesterday is was participate in the "Third Blogger's Convention" in Microsoft Israel and I realized that I can write about anything beside cakes, cats etc… :-) So I want to talk about a Script Language that I love. Maybe you heard about this language or maybe not, but there is a very powerful scripts language called Python. So What is Python? Python Programming Language is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned...
no comments

My Personal Blog

14/02/2008

Hello Everyone, Three days ago the Team System Master (Guy Kolbis :-) ) suggest me to open my own blog. As you can see I adopt Guy's idea... I getting a lot of requests to publish my Team System tools, So in a few days I'll publish those tools from my blog. Great weekend to all
3 comments

Automate TFS Build Delete

10/02/2008

Automate TFS Build Delete  The Team Foundation Build Server at one of our clients was getting out of hand. We set up continuous integration so we are getting a lot of builds per day. The server had hundreds of builds that we just didn't need hanging around anymore. So we wrote an tool to automate the cleanup of TFS Builds. After I finished developing the tool I noticed that it's much more comfortable to manage our Builds through this tool. Simple statistics about all Builds and there status, fast way to enter Build Log, Build Drop Location, Changesets and of course...

Team System Work Item Color Control

Team System Work Item Color Control  I've develop a "Color Control" for VSTS Work Items. The "Color Control" (<Control Type="ColorControl" Label="" LabelPosition="Left" />) is placed in every Work Item and by the Work Item Type he takes the wanted color from an xml file located on the TFS. In addition  we create an "Combo Color Control".  This is similar to the "Color Control" except that colors are not by the Work Item Type but for each value in the combo box the color changes.