开发者

Is it possible to specify an automatic configuration proxy in web.config?

开发者 https://www.devze.com 2023-02-12 11:17 出处:网络
I\'d like the server web.config configuration to match the client as closely as possible. All clients use 开发者_开发知识库a proxy auto-configuration script.

I'd like the server web.config configuration to match the client as closely as possible. All clients use 开发者_开发知识库a proxy auto-configuration script.

Is there any way to specify this script file in web.config?


Yes

Directly under <configuration>:

  <system.net>
    <defaultProxy enabled="true" useDefaultCredentials="true">
      <proxy scriptLocation="--- your script location here ---" bypassonlocal="True" />
    </defaultProxy>
  </system.net>
0

精彩评论

暂无评论...
验证码 换一张
取 消