WP7 推送通知服务器设置
我正在尝试为我的 WP7 应用程序设置推送通知服务。
我已按照指南进行操作,并根据 Channel9 WP7 快速入门指南(天气服务 exmaple)提供的代码,使用 WPF 前端构建了 WCF 服务; http://channel9.msdn.com/Learn/Courses/WP7TrainingKit/WP7Silverlight/UsingPushNotificationsLab/Exercise-2-Introduction-to-the-Toast-and-Tile-Notifications-for-Alerts
这全部使用地址“http://localhost:8000/RegirstatorService”在本地工作
我不知道的部分是如何将此应用程序翻译到我的服务器并使其在现实世界中工作。 我有一个基本的面向公众的服务器 2008 设置,其中有一个域和 IIS7 正在运行。
我该如何使用 WPF 应用程序才能使其在我的服务器上运行?这是否只是更改端点地址的情况,以便在我的服务器上找到它,以及我在服务器上的哪里找到它。
任何指示都会有帮助。我已经在网上仔细阅读了,但仍然无法理解整个 PN 流程的这一部分。我以前从未接触过 WCF,也没有太多使用 Web 服务器或 IIS 的经验。
非常感谢。
I am trying to set up a push notification service for my WP7 app.
I have followed the guides and built a WCF service with WPF front end based on the code provided by the Channel9 WP7 jump start guide (Weather Service exmaple) ; http://channel9.msdn.com/Learn/Courses/WP7TrainingKit/WP7Silverlight/UsingPushNotificationsLab/Exercise-2-Introduction-to-the-Toast-and-Tile-Notifications-for-Alerts
This all works locally with the address "http://localhost:8000/RegirstatorService"
The part I am cluless about is how I translate this app to my server and make it work in the real world.
I have a basic public facing server 2008 setup with a domain and IIS7 running.
What do I do with the WPF app to make it work on my server? Is it just a case of changing the endpoint address so somehwere on my server, and where do i locate it on my server.
any pointers would be helpful. i have had a good read around the web but still cant understand this part of the whole PN process. I ahve never dealt with WCF before and dont have much expreirence with web servers or IIS.
Many thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以查看这些帖子以获得更真实的示例:
http://benjii.me/2010/12/push-notifications-in-windows-phone-7-1-code-on-the-device/
http://benjii. me/2011/01/push-notifications-in-windows-phone-7-2-code-on-the-server/
http://benjii.me/2011/04/push-notifications-in-windows-phone-7- 3-push-that-notification/
您可能对第二个最感兴趣。
You might to check out these posts for a more real world example:
http://benjii.me/2010/12/push-notifications-in-windows-phone-7-1-code-on-the-device/
http://benjii.me/2011/01/push-notifications-in-windows-phone-7-2-code-on-the-server/
http://benjii.me/2011/04/push-notifications-in-windows-phone-7-3-push-that-notification/
You're probably most interested in the second one.