albumprinter/CorrelationTracking

UseCorrelationTracking might fail with NotSupportedException

Alterling opened this issue · 1 comments

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() } })

Closing this as we are moving away from manual delegating handlers