Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Team Foundation Server Proxy has an XML configuration file that maintains information that is required for the proxy configuration. This topic describes the nodes in this file and their effect on the configuration of Team Foundation Server Proxy.
The configuration file for Team Foundation Server Proxy contains the following XML nodes:
Node |
Explanation |
---|---|
<ProxyConfiguration> |
This node is the root element of the file, as in the following example:
|
<Servers> |
This node contains one or more <Server> nodes that correspond to one or more instances of Visual Studio Team Foundation Server or team project collections from which the proxy server caches files. Each <Server> node contains a <Uri> node that specifies either a computer that is running Team Foundation Server or a single team project collection on Team Foundation Server.
For example, the Servers node might resemble the following example if the proxy were caching version control files from every collection on a server that is named TfsServer, using the default values for port and virtual directory:
The Servers node might resemble the following example if the proxy were caching version control files from collection0 on a server that is named TfsServer, using the default values for port and virtual directory:
The Servers node might resemble the following example if the proxy were caching version control files from collection0 on a server that is named TfsServer1, and version control files from every collection on a server that is named TfsServer2, with both servers using the default values for port and virtual directory:
|
<CacheRoot> |
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, the CacheRoot node might resemble the following example with a single entry in the Servers node:
|
<CacheLimitPolicy> |
This node specifies at what point the proxy will run the clean-up routine to remove stale files. You can configure this node in either of the following ways:
|
<StatisticsPersistTime> |
This node indicates how frequently (in hours) cache performance statistics should be written to disk. For example, the StatisticsPersistTime node might resemble the following example if the proxy were set to write statistics to disk every hour:
|
Changing Proxy Configuration Settings
To change the proxy configuration, you must open the Proxy.config file in a text or XML editor and manually change the values. After you save the file, you must recycle the application pool before the changes will take effect. For more information, see How to: Connect Team Foundation Server Proxy to Team Foundation Server and How to: Change Cache Settings for Team Foundation Server Proxy.