HTTP-Push (Comet/Reverse Ajax) 使用 Silverlight 到 Javascript 桥? [英] HTTP-Push (Comet/Reverse Ajax)using Silverlight to Javascript bridge?
问题描述
使用 PollingDuplexHttpBinding 与 Silverlight 结合 RegisterScriptableObject 函数
实现 Comet 风格的 javascript 功能?
(参见教程)>
我从未在论坛中看到过这种方法的讨论,也从未将这种方法推荐为免费解决方案.相反,只听说过付费选项,例如 WebSync 和 PokeIn.
Silverlight 是否实现了Bayeux 协议?应该吗?
您会遇到一些严重的可扩展性问题,而且实施起来非常痛苦.见:
http://devgripes.wordpress.com/2009/11/14/pollingduplexhttpbinding-absolute-rubbish/
如果您想在 Silverlight 中实现 Bayeux,则需要 WebSync.
(免责声明:我为 Frozen Mountain Software 工作)
Is it a good idea to use PollingDuplexHttpBinding with Silverlight in conjunction with the function RegisterScriptableObject
to achieve Comet-style javascript functionality?
(see tutorial)
I have never seen this approach discussed in the forums, or recommended as a free solution. Instead only heard about paid options such as WebSync and PokeIn.
Does Silverlight implement the the Bayeux protocol? Should it?
You'll have some serious scalability problems, and it's a royal pain to implement. See:
http://devgripes.wordpress.com/2009/11/14/pollingduplexhttpbinding-absolute-rubbish/
If you want a Bayeux implementation in Silverlight, you want WebSync.
(Disclaimer: I work for Frozen Mountain Software)
这篇关于HTTP-Push (Comet/Reverse Ajax) 使用 Silverlight 到 Javascript 桥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!