wp7 中后台代理的工作
我对 Windows Phone Mango 中的后台代理有很多疑问。从一篇文章中我读到了有关后台代理的信息,但我仍然对后台代理的工作感到困惑。我尝试使用 MSDN,但感觉很难理解摘要。请有人给我推荐一本好的博客或书籍来开始学习这项技术。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我更喜欢Peter Torr的博客来开始学习后台代理,在他的博客中他用一个简单的例子解释了所有与BA相关的信息。如果可能的话,观看 Mix 2011 的主题演讲
由彼得.
http: //blogs.msdn.com/b/ptorr/archive/2011/07/11/background-agents-part-1-of-3.aspx
I prefer Peter Torr's bog for start learning background agent, In his blog he explained all information related with B.A with a simple example. If possible watch the keynote on Mix 2011
by Peter.
http://blogs.msdn.com/b/ptorr/archive/2011/07/11/background-agents-part-1-of-3.aspx
这个快速入门很好地介绍了后台任务及其局限性。它还附带源代码:
http://channel9.msdn.com/Series/Mango-Jump-Start/Mango-Jump-Start-06-Windows-Phone-Multi-tasking--Background-Tasks
我建议如果您想更全面地了解 Mango 的开发,请下载并观看整个系列。
Jesse Liberty 的博客也是概述和教程的良好来源,他在顶部有一个“Windows Phone 教程”链接。以下是后台代理概述:
http://jesseliberty.com/2011/10/05 /background-agents/
虽然我注意到他提到周期任务运行大约 25 秒,但我在 MSDN 上看到了 15 秒。重点是,你不会花太长时间!
This jump start has a good introduction to background tasks, and their limitations. It also comes with source code:
http://channel9.msdn.com/Series/Mango-Jump-Start/Mango-Jump-Start-06-Windows-Phone-Multi-tasking--Background-Tasks
I advise downloading and watching the entire series if you want a bigger picture about development in Mango.
Jesse Liberty's blog is also a good source for overviews and tutorials, he has a "Windows Phone Tutorials" link at the top. Here is the background agent overview:
http://jesseliberty.com/2011/10/05/background-agents/
Though I note that he mentions the period task runs for around 25 seconds, somewhere on MSDN I saw 15 seconds. Point being, you don't get long!