HTTP-Push (Comet/Reverse Ajax)using Silverlight to Javascript bridge?

会有一股神秘感。 提交于 2019-11-26 10:03:06

问题


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?


回答1:


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)



来源:https://stackoverflow.com/questions/5449642/http-push-comet-reverse-ajaxusing-silverlight-to-javascript-bridge

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!