简体   繁体   English

WP7中的批量推送通知

[英]Mass push notifications in WP7

In my project, I need to send a lot of equal push notifications to a lot of windows phone devices. 在我的项目中,我需要向很多Windows手机设备发送大量相同的推送通知。 Is there a way to send a push notification with multiple receivers or do I have to make one http request per device? 有没有办法发送带有多个接收器的推送通知,还是我必须为每个设备发出一个http请求? I've found a lot of good tutorials but no information about this issue. 我找到了很多很好的教程但没有关于这个问题的信息。

Good tutorial (has downloadable project with server, wpf application and wp7 app which works immediately): http://www.thisisfanzoo.com/Blog/JeffF/archive/2010/08/02/a-really-long-post-about-the-windows-phone-7-push.aspx 好的教程(有服务器的可下载项目,wpf应用程序和wp7应用程序立即工作): http//www.thisisfanzoo.com/Blog/JeffF/archive/2010/08/02/a-really-long-post-about -the-Windows的电话7 push.aspx

Yes, you can. 是的你可以。 You can use Windows Azure Notification Hubs service to send push notification to many devices in a group identified by a tag. 您可以使用Windows Azure Notification Hubs服务将推送通知发送到由标记标识的组中的许多设备。 For more information: http://msdn.microsoft.com/en-us/library/windowsazure/jj927170.aspx#BKMK_NH6 有关更多信息,请访问: http//msdn.microsoft.com/en-us/library/windowsazure/jj927170.aspx#BKMK_NH6

You have to make one http request per device. 您必须为每个设备发出一个http请求。 Because when you are sending the request you are sending it to url that's generated by Microsoft for registered device and each of those URL's are unique. 因为当您发送请求时,您将其发送到Microsoft为注册设备生成的URL,并且每个URL都是唯一的。

For more information: http://msdn.microsoft.com/en-us/library/ff402558(v=vs.92).aspx 有关更多信息,请访问: http//msdn.microsoft.com/en-us/library/ff402558(v = vs.92).aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM