2

我试图在互联网上找到有关它的任何信息,但没有成功。假设我正在构建一个简单的 jQuery / Angular.js 应用程序。

我想使用某种 PubSub 服务,例如 pusher 或 faye,向我的应用程序添加实时通知。Windows Azure 集线器服务是否允许我做这样的事情?我可以使用纯 javascript 订阅和发出 azure hub 通知吗?

4

3 回答 3

1

Azure has an API for pushing messages directly to mobile applications, but I believe you'll need a web server including a signalR hub for hosting/serving a plain javascript app capable of receiving such notifications (signalR will use websockets, server-sent events or fall back to ajax depending on the clients browser).

于 2014-04-16T15:28:45.877 回答
0

Azure 通知中心通过 APNS、GCM 等平台通知服务推送通知。

请参考http://msdn.microsoft.com/library/azure/jj927170.aspx

于 2014-04-17T18:20:16.723 回答
0

这是来自 Windows Azure 项目经理的答案

Azure 服务总线通知中心是否与 websockets 和 javascript 一起使用?

tl;博士

不,没有。你只能发射。

于 2014-07-01T16:43:24.440 回答