Is Azure Notification Hubs Pack compatible with .NET Core?

I work with the basic .NET software and I see that some Azure packages are incompatible, like NotificationHubs and SendGrid :

Package Microsoft.Azure.NotificationHubs 1.0.5 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0) The dependency SendGrid.CSharp.HTTP.Client 2.0.4 does not support framework .NETCoreApp, Version=v1.0 

I was just trying to add NotificationHubs and SendGrid. I have not even tried any ActiveDirectory packages.

Does anyone have any idea if some of these packages will be compatible soon? Or maybe I'm doing something wrong? Or is there a way in a .NET application to link to an old package?

Thanks!

+5
source share
2 answers

[Update 11/30/2017] Microsoft.Azure.NotificationHubs 2.0.0-preview1 , compatible with .NET Core, has just been published.


[Original answer] Starting mid-July 2016, the Notification Hubs SDK is not available for the .NET kernel. The product team is working on it, but there is no ETA yet.

There are currently two ways around this:

+5
source

If you are working on Azure, you do not need to use netcoreapp to use ASP.NET Core. You can still use the ASP.NET kernel with a full platform by setting net461 instead of netcoreapp1.0 , and it will still work, Azure has a full platform, and both are compatible with the same version of NetStandard .

We have several web applications that run on netcoreapp1.0 and others on net461 due to package dependencies (e.g. Azure SDK), and they all run on the ASP.NET core.

When the development team starts releasing compatible .Net Core App packages, just reassign netcoreapp1.0 and add the Microsoft.NETCore.App package and it will continue to work.

Azure Web application github repo example using ASP.Net core with full version

+3
source

All Articles