Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to default to WinHTTP proxy not the WinINet for a .Net core app #1023

Closed
rohits-dev opened this issue Oct 11, 2017 · 1 comment
Closed

Comments

@rohits-dev
Copy link

Issue Title

How to set proxy settings for a .Net Core application

General

We have a .Net Core Windows Service which makes few calls to AWS or other internet services. For this, it needs to use proxy settings. There are two options either we configure each call to use proxy server or set proxy setting machine wide. Setting WinHTTP proxy configuration is easier than WinINet. However .net core process uses wininet as default proxy policy. How can I set it to default to WinHTTP than WinINet for the whole app rather than changing in each WinHttpHandler?

@karelz
Copy link
Member

karelz commented Oct 11, 2017

This issue was moved to dotnet/corefx#24574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants