azure-notificationhub

Cannot register device in Azure NotificationHub on iOS, no callbacks

浪尽此生 提交于 2021-02-11 14:21:52
问题 I'm trying to set up push notifications via Azure NotificationHub (using these guides). Android went fine, but iOS... No matter what I do, I do not receive any callbacks from RegisterNative / RegisterTemplate methods of SBNotificationHub , and no registrations appear in the hub. My code (pretty straightforward): public static void SubscribeToAzure(NSData deviceToken, string[] subscriptionTags = null, bool bUnsubscribe = false) { try { var Hub = new SBNotificationHub(AppConstants

Notifications for WinForms / WPF application

 ̄綄美尐妖づ 提交于 2021-01-29 07:55:30
问题 I have a Windows Forms client application. The application uses built-in WebBrowser to display a ASP.NET Core locally hosted site. The client does not have a persistent Internet connection (sometimes available, sometimes not). Now I want to be able to send notifications from BackOffice to users of this application. So I have two ways: Send notifications to ASP Core project. This project will transfer notification to JavaScript. Send notification straight to UI JavaScript. I wanted to use

Azure NotificationHubClient throws SocketException when used on Azure function intensively

跟風遠走 提交于 2020-04-10 09:11:25
问题 We are using an Azure function to send push notifications via Azure NotificationHubClient. This function is called a lot at peak times on live environment and as a result we got a lot of SocketExceptions thrown from the NotificationHubClient.SendNotificationAsync() method. Exception details: Microsoft.Azure.NotificationHubs.Messaging.MessagingException: Unexpected exception encountered TimeStamp:2020-03-27T04:14:35.4655705Z ---> System.Net.Http.HttpRequestException: Cannot assign requested

Azure NotificationHubClient throws SocketException when used on Azure function intensively

一曲冷凌霜 提交于 2020-04-10 09:11:15
问题 We are using an Azure function to send push notifications via Azure NotificationHubClient. This function is called a lot at peak times on live environment and as a result we got a lot of SocketExceptions thrown from the NotificationHubClient.SendNotificationAsync() method. Exception details: Microsoft.Azure.NotificationHubs.Messaging.MessagingException: Unexpected exception encountered TimeStamp:2020-03-27T04:14:35.4655705Z ---> System.Net.Http.HttpRequestException: Cannot assign requested

Azure NotificationHubClient throws SocketException when used on Azure function intensively

半世苍凉 提交于 2020-04-10 09:10:28
问题 We are using an Azure function to send push notifications via Azure NotificationHubClient. This function is called a lot at peak times on live environment and as a result we got a lot of SocketExceptions thrown from the NotificationHubClient.SendNotificationAsync() method. Exception details: Microsoft.Azure.NotificationHubs.Messaging.MessagingException: Unexpected exception encountered TimeStamp:2020-03-27T04:14:35.4655705Z ---> System.Net.Http.HttpRequestException: Cannot assign requested

Azure NotificationHubClient throws SocketException when used on Azure function intensively

霸气de小男生 提交于 2020-04-10 09:09:28
问题 We are using an Azure function to send push notifications via Azure NotificationHubClient. This function is called a lot at peak times on live environment and as a result we got a lot of SocketExceptions thrown from the NotificationHubClient.SendNotificationAsync() method. Exception details: Microsoft.Azure.NotificationHubs.Messaging.MessagingException: Unexpected exception encountered TimeStamp:2020-03-27T04:14:35.4655705Z ---> System.Net.Http.HttpRequestException: Cannot assign requested

SQL Azure database trigger notification hub

折月煮酒 提交于 2020-01-25 05:52:04
问题 I have a SQL Azure database with one table on Azure and I want to trigger my notification hub when there is a change in the number of rows on my table so that I can send a push notification to my universal app. I tried to trigger a WCF service so that I can then call my notification hub but with no luck. Also I don't think is the best way either anyway. Do you have any thoughts? 回答1: i think that you can try using Logic Apps in this case linked to your services, so whenever there is a new row

Azure Notification Hub registration from Javascript using REST services fails

妖精的绣舞 提交于 2020-01-24 05:45:29
问题 I'm trying to get a registration on the Azure Notification Hub working from html/javascript code running in a web view host (Phonegap / Intel XDK). There is no client library available, so I try to use the REST API (documentation: ). I have the following Javascript code: function registerWithAzureNotificationHub() { var sas = "Endpoint=sb://eventpusher-ns.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=69XuYoluyBKl6JkkN03Z1oNC7cFSZ4Ku0ZWmPuWoJzs=

Is Azure Notification Hubs package compatible with .NET Core?

我只是一个虾纸丫 提交于 2020-01-24 04:27:39
问题 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

Usage of Azure Notification Hubs templateName

試著忘記壹切 提交于 2020-01-14 07:23:08
问题 I've created a sample App with Cordova and a Mvc5 application that talks with Azure Notification Hubs. Registrations are handled by the backend because tags must be secured. We have used three different templates registered from the backend for the iOS,WP8 and Android platforms; the backend can send a push notification with a $message payload using sendtemplatenotificationasync . It's working but we have not used the templateName . Reading the Registration from your app Backend documentation