HTTP-推使用Silverlight为Javascript桥(彗星/反向AJAX)? [英] HTTP-Push (Comet/Reverse Ajax)using Silverlight to Javascript bridge?
问题描述
它是使用<一个好主意href=\"http://msdn.microsoft.com/en-us/library/system.servicemodel.pollingduplexhttpbinding%28v=vs.95%29.aspx\"相对=nofollow> PollingDuplexHttpBinding 与Silverlight 与功能结合 RegisterScriptableObject
来实现Comet风格的JavaScript功能?结果
(<一href=\"http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c\"相对=nofollow>看教程)
Is it a good idea to use PollingDuplexHttpBinding with Silverlight in conjunction with the function RegisterScriptableObject
to achieve Comet-style javascript functionality?
(see tutorial)
我从来没有见过这种方法在论坛讨论,或推荐一个免费的解决方案。相反,只听说支付选项,比如 WebSync 并的 PokeIn 。
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.
请问Silverlight的实施贝叶协议?它应该?
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.word$p$pss.com/2009/11/14/pollingduplexhttpbinding-absolute-rubbish/
如果你想在Silverlight贝叶实现,你要WebSync。
If you want a Bayeux implementation in Silverlight, you want WebSync.
(声明:我对速冻山软件工作)
(Disclaimer: I work for Frozen Mountain Software)
这篇关于HTTP-推使用Silverlight为Javascript桥(彗星/反向AJAX)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!