ajax duplex wcf,Duplex communication with WCF on Silverlight TV

本文介绍了如何在Silverlight中实现WCF双工通信,包括HTTP轮询双工和net.tcp协议的使用。提供了相关资源,如HTTP轮询双工的发布/订阅示例,AJAX客户端示例,以及关于net.tcp协议的讨论。同时,还涵盖了服务的扩展性和性能比较。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Duplex communication with WCF on Silverlight TV

06/24/2010

2 分钟可看完

本文内容

Silverlight TV episode about Duplex communication with WCF in Silverlight is beginning to air today. In this episode I am showing how to implement duplex communication with WCF using HTTP polling duplex protocol, as well as discuss aspects of the net.tcp protocol. If you want to find out more about the technologies I used to build the Silverlight-based chat application in this short video, you may want to check out the following resources:

Pub/sub sample using HTTP polling duplex channel in Microsoft Silverlight contains the source code of a more elaborate version of the chat application, and walks through key design points.

AJAX client for HTTP polling duplex WCF channel explains how a JavaScript browser client can consume the HTTP polling duplex protocol from Silverlight. This post builds on the previous one to show how AJAX and Silverlight based clients can communicate with each other using a pub\sub WCF backend exposed over the HTTP polling duplex binding from Silverlight. It comes with a JavaScript library implementing the client side of the protocol.

Scale-out of HTTP polling duplex WCF service discusses the challanges and approaches to scaling out a WCF service exposed over the HTTP polling duplex binding to a large number of clients.

Pub/sub sample using the net.tcp channel in Microsoft Silverlight builds up on the tired chat example to show how a Silverlight client can seamlessly switch between HTTP polling duplex and net.tcp protocol added in Silverlight 4, and explains some of the trade-offs between these protocols.

WCF net.tcp protocol in Silverlight 4 provides more background information about the protocol in the context of Silverlight.

Comparison of net.tcp and HTTP polling duplex performance provides an insight into and helps set expectations related to relative performance of the two protocols in various circumstances.

The Silverlight Web Services Team blog contains a wealth of information about WCF and communication in Silverlight in general.

Tomasz Janczuk

WCF Team

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值