Closed pnguyen535 closed 4 years ago
Also present in ASP.NET Core 2.1.3 - 2.1.7
Edit: Scratch that, I had a reference in my project that was overwriting the version of Microsoft.AspnetCoreHttp to 2.2.0 :\
2.2.2 of ASP.NET Core fixed this.
2.2.2 of ASP.NET Core fixed this.
Is it fixed in ASP.NET Core 3.x? I had a quick try yesterday and the problem still seemed to be there.
@tjrobinson - It should be fixed there too. I've justed tested on a simple 3.1 project and can't seem to replicate the original issue I was aware of.
Are you able to provide a repro example of your case?
@stevejgordon - apologies, I was testing it on the wrong branch of my application 🤦♂️
Everything works great now 👍🏻
There is a bug in asp.net 2.2 that make httpContext is null when TraceIdentifier is being updated. The work around to use this library is to set UpdateTraceIdentifier = false in CorrelationIdOptions