Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Azure Notification Hubs package compatible with .NET Core?

I'm working with a .NET core app, and I see some Azure packages are not compatible, for example 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 only tried adding NotificationHubs and SendGrid. I haven't even tried any ActiveDirectory packages yet.

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 core app to reference an older package?

Thanks!

like image 284
Primico Avatar asked Jul 11 '16 18:07

Primico


1 Answers

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


[Original answer] As of mid-July 2016 Azure Notification Hubs SDK is not available for .NET core. The product team is working on it, but there's no ETA yet.

At the moment, there are two ways to work around it:

  • Use WindowsAzure.Messaging.Managed Nuget package as described in Getting started with Notification Hubs for Windows Universal Platform Apps
  • Through REST APIs. (List of methods.)
like image 90
Nikita R. Avatar answered Oct 04 '22 21:10

Nikita R.