UseCorrelationTracking might fail with NotSupportedException
Alterling opened this issue · 1 comments
Alterling commented
In the case of .NET Framework project + .NetStandard dependencies + System.Net.Http from nuget next code new HttpClient().UseCorrelationTracking()
might throw NotSupportedException. As a workaround we had to use new HttpClient(new CorrelationDelegatingHandler { InnerHandler = new LoggingDelegatingHandler(true) { InnerHandler = new HttpClientHandler() } })
derwasp commented
Closing this as we are moving away from manual delegating handlers