Why scriptLocation may not work when pointing to a proxy script file in your application config file.

Consider this scenario: You have a .NET application that issues HttpWebRequests to a remote server.  You deploy this application to an environment that requires proxy servers be configured using a proxy script file (WPAD / PAC).  The solution is pretty simple.  In your app.config, you can add this configuration:   <system.net>     <defaultProxy useDefaultCredentials="true">      …

0