我正在开发一个应用程序,我的客户端应用程序需要定期接收特定事件的通知。我发现要实现推送通知,我们必须通过云来实现。是否可以通过我们的本地服务实现推送通知
谢谢和问候,哈沙
Per the workflow pictured below, the "Cloud Service" merely needs to be accessible from your application as it's deployed on client machines. It does, however, need to have a secure connection to WNS, but you can host the "Cloud Service" on premises if you like, as long as it's available on the public internet for the Windows 8 clients to access. You cannot, however, host the service on the client device itself.
Of course, if you use your host the service on premises, you'll need to handle the infrastructure, scaling, security, of the "Cloud Service" yourself.
EDIT: Note that WNS is a constant in this, and is hosted by Microsoft "in the cloud", so as Jerry mentioned in his response, that's not something you can move to a local or on-premises service.
If they are 'regular' notifications, you could perhaps investigate periodic or scheduled notifications as well.
答案是不。没有机制可以“推送”到不使用 WNS 路由该消息的 Windows 8 设备。您的服务可以做很多事情,但必须利用 WNS。这与安全性、可靠性有关,而且(老实说)就是这样。WNS 是一项要求。
我明白你为什么会问这个问题。
我希望这能为你解答。