question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OperationContext.Proxy support for .NET Core 2.0

See original GitHub issue

Which 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?

  1. Create an OperationContext instance OperationContext operationContext = new OperationContext();
  2. 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:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
usr4711commented, Oct 19, 2018

@zezha-msft Why was this closed?

1reaction
alexmgcommented, Sep 3, 2018

@CIPop Is there an intention to support IWebProxy in the future?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found