I was investigating the slowness of proxy initialization (PrivateInvoke method) and found that many people have recommended that we set the usedefaultwebproxy to false. But before going ahead with the fix I’d like to know more about what it is and what it does? How can it impact other areas of my code etc.
I was investigating the slowness of proxy initialization (PrivateInvoke method) and found that many
Share
The “what” is on MSDN – it just controls whether it should find the proxy from system configuration, or whether you will specify it. If we assume that you’re going to give it the same value anyway, then the only use would seem to be: to avoid an extra lookup (which could take an unknown time, maybe?). However, it might be that you want to bypass the proxy completely and go direct. I certainly remember (back in the day) using proxycfg and netsh to disable the proxy for local addresses, but that was (IIRC) more to do with passing windows credentials to a local server.