简体   繁体   English

Windows Phone 8推送通知(MPNS)服务器代码

[英]Windows Phone 8 Push Notification (MPNS) Server Code

Windows Phone 7 has the MpnsRecipe NuGet package which you can use to send push notification messages to the Microsoft Push Notification Service (MPNS) on the server side. Windows Phone 7具有MpnsRecipe NuGet包,您可以使用该包将推送通知消息发送到服务器端的Microsoft推送通知服务(MPNS)。 However, this package has not been updated for Windows Phone 8. 但是,此包尚未针对Windows Phone 8更新。

http://nuget.org/packages/MpnsRecipe http://nuget.org/packages/MpnsRecipe

What is the equivelant for Windows Phone 8? Windows Phone 8的等同功能是什么? I want to make use of the new wide tiles but I can't find any code online to get me started. 我想利用新的宽块,但是我找不到在线任何代码来入门。 All I can find is the XML format for the new messages on MSDN and I'd rather not have to write my own if there is a ready made package available. 我所能找到的只是MSDN上新消息的XML格式,如果有现成的软件包可用,我宁愿不必自己编写。

Most WP7 projects should just work on WP8. 大多数WP7项目应该只在WP8上工作。 Did you try to use the NuGet package and something didn't work? 您是否尝试使用NuGet软件包,但没有任何效果? Did you forgot to unblock the web downloaded DLLs or did you forgot to update your NuGet package manager . 您是否忘记取消阻止网络下载的DLL或您忘记更新NuGet软件包管理器了

查看PushSharp: https : //github.com/Redth/PushSharp它似乎已针对Windows Phone 8中的新通知有效负载格式进行了更新。

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

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