About the Team Foundation Server Proxy Config File


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 config file, which is located at %ProgramFiles%Microsoft Visual Studio 2005 Team Foundation ServerWeb ServicesVersionControlProxyproxy.config.

This is the root element of the proxy configuration file. For example:
<!– Additional nodes 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 FilesMicrosoft Visual Studio 2005 Team Foundation ServerWeb ServicesVersionControlProxyData</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.


Discussion is closed.

Feedback usabilla icon