Blog

How To Verify a TDS license through a proxy server when running Visual Studio 2015

May 10, 2016 | Angel Uzunov

Proxy servers are widely used in the enterprise to facilitate security, administrative control or caching services. TDS can be configured to work behind a proxy server.

There are three ways to do it. One is to add the proxy information inside VS’ own config file (devenv.exe.config), the second way to do this is to add the proxy configuration inside the TDS’ “HedgehogDevelopment.SitecoreProject.VSIP2015.dll.config” file, and the third is to use IE’s proxy configuration and call it from within any of the two config files above. The important step is to set 100 Continue expectation to False in each of the cases.

This is how to set the 100 Continue rule to false:

<configuration>

  <system.net>

    <settings>

      <servicePointManager expect100Continue="false" />

    </settings>

  </system.net>

</configuration>

 

This is in case IE will be used – force the configuration to use the IE proxy settings

<defaultProxy useDefaultCredentials="true" enabled="true">

    <proxy usesystemdefault="True" />

</defaultProxy>

 

And this is how to add a default proxy:

<system.net>

  <defaultProxy useDefaultCredentials="true" enabled="true">

      <proxy proxyaddress="http://your.proxyserver.ip:port"/>

  </defaultProxy>

  <settings>

</system.net>

Visual Studio