使用推送通知通过Windows Notification Services为metro风格应用构建实时磁贴。 [英] Building live tiles using push notifications through Windows Notification Services for metro style apps.
问题描述
我正在做一个应用程序,因为磁贴应显示挂起的批准计数。所以即使应用程序没有运行,磁贴应该是活的。我尝试通过Windows Notification Services执行此操作。我在Windows Live应用程序管理中注册了应用程序我
获得了包名,密码ID和包安全标识符(SID)。如何为WNS提供SID和密钥?任何人都可以帮助我。
绝对可以! 一个很好的起点是:
http:/ /msdn.microsoft.com/en-us/library/windows/apps/hh465460.aspx
这提供WNS如何工作的所有细节,包括如何使用您的包名和密钥对WNS进行身份验证。 请参阅标题为"验证您的Cloud Service"的部分
有关WNS的更多信息,您可以在此处查看此视频在建设会议上发表:
http:// channel9 .msdn.com / Events / BUILD / BUILD2011 / SAC-863T
这里还有几个可能有帮助的博客文章。
Jayway团队的非Microsoft帖子:
http://blog.jayway.com/2011/10/12/implementing-windows-8-push-notifications-an -example /
Nick Harris关于WNS食谱的帖子:
http://www.nickharris.net/tag/wns-recipe/
如果您需要更多信息,请告知我们。
Hi,
I am doing an app ,in that the tile should display the pending approvals count . So the tile should be live even when app is not running. I tried to do this through Windows Notification Services. I registered app in Windows Live Application Management. I got Package Name, Secret Id and Package Security Identifier(SID). How to provide the SID and secret key to WNS? Can any one please help me.
解决方案Absolutely! A great place to start is here: http://msdn.microsoft.com/en-us/library/windows/apps/hh465460.aspx
This provides all the details of how WNS works including how to authenticate with WNS using your Package Name and Secret Key. Please see the section titled "Authenticating your Cloud Service"
For more information on WNS, you can review this video here that we delivered at the Build Conference: http://channel9.msdn.com/Events/BUILD/BUILD2011/SAC-863T
Here are also a couple of blog posts that may be helpful.
Non-Microsoft post by the Jayway Team: http://blog.jayway.com/2011/10/12/implementing-windows-8-push-notifications-an-example/
Nick Harris' post on the WNS Recipe: http://www.nickharris.net/tag/wns-recipe/
Please let us know if you need more info.
这篇关于使用推送通知通过Windows Notification Services为metro风格应用构建实时磁贴。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!