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
Proxy Server Support in .NET Core #434
Comments
@ausfeldt please look into this. |
I have the same issue - haven't found a solution yet. Is there a way this can be fixed sooner? |
I have the same problem at my company. Its a show stopper if I cannot programmatically set the proxy like I can in the HTTPClient class. |
@cyberprune, I've managed to get Microsoft to add this as a feature in 2.2.0 of the SDK which was just released 2 days ago. The |
@AdrianSanguineti thanks so much, we will give it a go in our app for development |
@AdrianSanguineti From what I see, the handler has only be added to one of the ctors of the Which means that, for instance, if I'm setting behind a corporate proxy AND willing to use a specified |
@nulltoken, by saying "willing" I assume you mean "need to". I'm not sure what the design reason for that was. Maybe @kirankumarkolli could explain? Version 3 is now available and with source, so perhaps you can address the short coming there? I do also notice that v3 of DocumentClient doesn't have |
Is it possible to set a proxy server for the .NET Core client, with proxy authentication too?
I have tried setting the ConnectionPolicy.ConnectionMode to Gateway and ConnectionPolicy.ConnectionProtocol = Https, but it doesn't automatically pickup the current proxy. I can't see any way to provide a HttpClientHandler to set proxy details.
The text was updated successfully, but these errors were encountered: