Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do Azure Service Bus Notification Hubs work with websockets and javascript?

I am interested in using Azure Service Bus Notification Hubs. However, my first "client" will be a websocket based connection to a ASP.NET MVC site with Knockout. Currently, I'm trying out SignalR to push notification to the clients.

However, it looks like this would be much easier if I could use SB Notification Hubs. All of the examples are Windows or iOS.

Can you use Azure Service Bus Notification Hubs with WebSocket based HTML clients?

like image 764
Doug Avatar asked Mar 18 '13 20:03

Doug


People also ask

How does Azure notification hub work?

Azure Notification Hubs is a massively scalable mobile push notification engine for quickly sending millions of notifications to iOS, Android, Windows, or Kindle devices, working with APNs (Apple Push Notification service), GCM (Google Cloud Messaging), WNS (Windows Push Notification Service), and more.


1 Answers

I am a Program Manager in the Service Bus team. There is no plan to support WebSockets on HTML as an output pipe for Notification Hubs. At the moment your best bet is to use SignalR, which can be scaled out using Service Bus.

What are the characteristics of Notification Hubs that make you say that it would be preferable to SignalR?

like image 106
Elio Damaggio Avatar answered Oct 21 '22 10:10

Elio Damaggio