alexalok / dotAPNS

dotAPNS is a library used to send push notifications to Apple devices using Apple Push Notification service via HTTP/2 API.
Apache License 2.0
114 stars 34 forks source link

Does this work in .NET Core 5? #86

Closed nealculiner closed 3 years ago

nealculiner commented 3 years ago

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 3 years ago

.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 3 years ago

I'm sorry but I abandoned the nuget and coded it myself. I'm using asp.net core 5