Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

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

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...