Visual Studio Proxy
devenv.exe.config in Visual Studio installation directory
NuGet proxies
C:\Users\<your-user-name>\AppData\Roaming\NuGet\NuGet.Config
(actual values of username and password can be irrelevant for many proxies)
Note: this settings helps in some operations but has shown problems with package installations.. Will take a look when get a chance.
PowerShell Proxies
set HTTP_PROXY=http://user:password@proxy.domain.com:port
or
$proxyString = "http://127.0.0.1:8888"
$proxyUri = new-object System.Uri($proxyString)
[System.Net.WebRequest]::DefaultWebProxy = new-object System.Net.WebProxy ($proxyUri, $true)
If Need Credentials
(New-Object System.Net.WebClient).Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
Azure CLI
SET HTTPS_PROXY=http://user:password@xxx.xx.xx.xx:port
SET HTTP_PROXY=http://user:password@xxx.xx.xx.xx:port
Maven
in settings.xml
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>xxx.xx.xx.xx.</host>
<port>port#</port>
<!--nonProxyHosts>local.net</nonProxyHosts -->
</proxy>
</proxies>
Comments