8

Azure Service Bus Notification Hubs の使用に興味があります。ただし、私の最初の「クライアント」は、Knockout を使用した ASP.NET MVC サイトへの websocket ベースの接続になります。現在、SignalR を試して、クライアントにプッシュ通知を送信しています。

ただし、SB Notification Hubs を使用できれば、これははるかに簡単になりそうです。はすべて Windows または iOS です。

WebSocket ベースの HTML クライアントで Azure Service Bus Notification Hubs を使用できますか?

4

3 に答える 3

4

私は Service Bus チームのプログラム マネージャーです。Notification Hubs の出力パイプとして HTML で WebSockets をサポートする予定はありません。現時点では、Service Bus を使用してスケールアウトできる SignalR を使用することをお勧めします。

SignalR よりも優れていると思われる Notification Hubs の特徴は何ですか?

于 2013-03-22T00:59:19.490 に答える
2

We spent several days trying to do what you describe, but we were unable to get SignalR/WebSockets to work on Azure Cloud. SignalR/WebSockets failed every time, spawning infinite loops of connection failures/reconnections. We were able to get SignalR/LongPolling (not WebSockets) to work on Azure cloud successfully. We have since learned that the VM on Azure Cloud apparently does not support WebSockets at all. Our experience indicates that you probably will not be able to use WebSocket-based HTML clients with SignalR running on Azure cloud, though you can probably get LongPolling to work OK.

于 2013-05-01T21:00:03.520 に答える