Does this work in .NET Core 5?
nealculiner opened this issue · 2 comments
nealculiner commented
Just implemented the code but it doesn't seem to work in asp.net core 5. Also of note is .NET Core 5 removes support for:
AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", false);
alexalok commented
.NET 5 should be fully supported. Could you please elaborate on the issue you're facing?
As for AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", false);
, this is only needed when targeting .NET Core 2.0, 2.1 and 2.2.
nealculiner commented
I'm sorry but I abandoned the nuget and coded it myself. I'm using asp.net core 5