开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜