Team Foundation Server Proxy

24 Nov
2009

Team System contains a server software named Team Foundation Server Proxy for using TFS SCM in remote locations with more efficient way.
Image at the below gives you ideas about using the TFS Proxy.
ms400682.Local_-463849881_complextop(en-US,VS.80)[1]_2[1]

Think about that;  you have a distributed development environment, there are developers in another office location of your company. They can connect TFS over HTTP, there is no need for any other application or server infrastructure. But using TFS proxy speeds up the developers at the remote locations.


Clients don’t connect to the TFS Proxy for every request. TFS Proxy be used for caching downloaded files, etc. For example when you checkout a file, TFC (Team Foundation Client – Team Explorer) directly connects to the main TFS server.
For setting up TFS Proxy server environment follow the steps in the TFS Installation Gude.

After the installation is completed you need to modify the proxy.config in the %PROGRAMFILES%\\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\VersionControlProxy directory.

<?xml version="1.0" encoding="utf-8"?>
<proxyconfiguration xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="https://www.w3.org/2001/XMLSchema">
<servers>
  <server>
    <Uri>https://NAMEOFYOURTFSSERVER:8080"<Uri>
  </server>
</servers>

Developer who will connect over proxy server needs to configure Team Foundation Client to use proxy server. In the configuration page (Visual Studio > Tools > Options > Source Control > Team Foundation Server) specify the proxy server name and port.

tfs_proxy_options_2[1]

After that Team Explorer will use TFS Proxy for appropriate actions like getting latest version. But actions like checking out a file always be processed on TFS Server.

fiddler_client_using_proxy

Comment Form

top