newrelic / newrelic-dotnet-agent

The New Relic .NET language agent.
Apache License 2.0
96 stars 64 forks source link

Remove remaining references to System.Net.Http on .NET Framework #2750

Closed chynesNR closed 1 month ago

chynesNR commented 1 month ago

Because it's very easy to build a .NET Framework app against the wrong version of System.Net.Http, we switched back to using HttpWebRequest here: https://github.com/newrelic/newrelic-dotnet-agent/issues/1844

However, ConnectionManager references an Exception that only exists in System.Net.Http, which can cause a FileNotFoundException. This was recently observed in a customer environment.

workato-integration[bot] commented 1 month ago

https://new-relic.atlassian.net/browse/NR-312149