This documentation is archived and is not being maintained.

Team Foundation Server Proxy Web.Config File Settings

The Team Foundation Server Proxy has a separate XML configuration file that maintains information required for the proxy configuration. This topic describes the nodes found in this file and their effect on the Team Foundation Server Proxy configuration.

Team Foundation Server Proxy.Config Nodes

The following XML nodes are found in the Team Foundation Server Proxy configuration file, which is located at %ProgramFiles%\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\VersionControlProxy\proxy.config.

Node Explanation


This is the root element of the proxy configuration file. For example:

<!-- Additional notes omitted for clarity -->


This node represents a collection of <Server> nodes that correspond to the application tier that the proxy serves files from. Each <Server> node contains a <Uri> node that specifies the URI of the VersionControl virtual directory of the application tier. For example:



This node contains the root directory of the file cache. This directory contains one folder for each application tier for which the proxy is configured. For example:

<CacheRoot>C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\VersionControlProxy\Data</CacheRoot>


This node specifies at what point the proxy will run the clean-up routine to remove stale files. This can be configured in one of two ways: you can use a <PercentageBasedPolicy> node that runs the clean-up routine when a certain percentage of available disk space is filled, or you can use a <FixedSizeBasedPolicy> node to specify a fixed size for the cache (in megabytes). When the specified size is reached, the clean-up routine is run. For example:

    <!-- Cache limit expressed as percentage of disk space -->
    <PercentageBasedPolicy>75</PercentageBasedPolicy>    </CacheLimitPolicy>
    <!-- Cache limit expressed as MB -->


This node indicates how frequently (in hours) statistics should be written to disk. For example:



This node sets the reader chunk size. For example:



This node sets the writer chunk size. For example:


Changing Proxy Configuration Settings

To change the proxy configuration, you must open the Proxy.config file in a text or XML editor and change the values specified manually. After saving the files, you must recycle the application pool for the changes take effect. For more information, see How to: Enable Source Control Caching for Team Foundation Server Proxy and How to: Change Cache Settings for Team Foundation Server Proxy.

See Also