OperationContext.Proxy support for .NET Core 2.0
See original GitHub issueWhich service(blob, file, queue, table) does this issue concern?
Common/OperationContext
Which version of the SDK was used?
v9.3.0
Which platform are you using? (ex: .NET Core 2.1)
.NET Core 2.1
What problem was encountered?
Unable to use OperationContext.Proxy.
As a part of fix for issue #477 (Proxy support for Azure IoT Hub and Provisioning SDKs), we are implementing proxy support. Since we are unable to set the Proxy for OperationContext, we are unable to implement proxy support for FileUpload.
On investigating the dll, I can see implementation for net45 which has proxy support, but not in netstandard 1.0 or netstandard 1.3. Is there proxy support planned for netstandard 2.0?
How can we reproduce the problem in the simplest way?
- Create an OperationContext instance
OperationContext operationContext = new OperationContext();
- Set the proxy
operationContext.Proxy = new WebProxy();
‘OperationContext’ does not contain a definition for ‘Proxy’
Have you found a mitigation/solution?
No
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:5 (3 by maintainers)
Top Results From Across the Web
created proxy with svcutil in .net core 2.2 send the request ...
I add a reference to a service in my .net core 2.2 project using svcutil 2.0.2 from here : http://sms.magfa.com/services/urn:SOAPSmsQueue?
Read more >Building a Reverse Proxy in .NET Core
A reverse proxy is a special type of proxy server that hides the target server to the client. The client requests a resource...
Read more >OperationContext Class (System.ServiceModel)
Provides access to the execution context of a service method. ... Sleep(2000); IHelloCallbackContract callerProxy = OperationContext.Current.
Read more >Configure ASP.NET Core to work with proxy servers and ...
Learn about configuration for apps hosted behind proxy servers and load balancers, which often obscure important request information.
Read more >Getting Started with YARP
YARP is designed as a library that provides the core proxy functionality which you can then customize by adding or replacing modules. YARP...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zezha-msft Why was this closed?
@CIPop Is there an intention to support
IWebProxy
in the future?