Visual Studio Proxy

Visual studio da proxy auth olması için gereken kod

  • In the devenv.exe.config add <servicePointManager expect100Continue=”false” /> as laid out below:

<configuration>

<system.net>

<settings>

<servicePointManager expect100Continue=”false” />

</settings>

</system.net>

</configuration>

  • Add defaultProxy settings as follows:

<system.net>

<defaultProxy useDefaultCredentials=”true” enabled=”true”>

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

</defaultProxy>

<settings>

  • Alternately you could try telling it to use system default (which should pull from internet explorer) like so:

<defaultProxy useDefaultCredentials=”true” enabled=”true”>

<proxy usesystemdefault=”True” />

</defaultProxy>

<system.net> 
  <defaultProxy>  
   <proxy proxyaddress=”http://proxy:3128”
     bypassonlocal=”True” autoDetect=”True” /> 
   <bypasslist> 
   <add address=”http://URL”/>  
  </bypasslist> 
 </defaultProxy> 

No Comments

Post a Comment