不要Azure的服务总线通知集线器使用WebSockets和JavaScript工作? [英] Do Azure Service Bus Notification Hubs work with websockets and javascript?

查看:155
本文介绍了不要Azure的服务总线通知集线器使用WebSockets和JavaScript工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我感兴趣的是使用Azure的服务总线通知中心。然而,我的第一个客户将是一个基于WebSocket的连接到ASP.NET MVC站点淘汰赛。目前,我尝试SignalR推通知客户。

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.

不过,它看起来像这将是容易得多,如果我可以使用SB通知中心。所有 都是Windows或iOS的例子。

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

您可以使用Azure的服务总线通知集线器与基于HTML的WebSocket客户?

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

推荐答案

我在服务总线团队的项目经理。
没有计划,以支持HTML的WebSockets作为输出管通知中心。
目前最好的办法是使用SignalR,可以使用服务总线进行扩展。

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.

什么是通知枢纽,让你说,这将是preferable到SignalR特点?

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

这篇关于不要Azure的服务总线通知集线器使用WebSockets和JavaScript工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆