Building and Accessing Duplex Services Home
Building and Accessing Duplex Services
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Duplex communication allows either party to initiate a message exchange. But Silverlight version 3 clients are not addressable because the browser environment does not allow the creation of a listener. So a traditional duplex solution implemented by Windows Communication Foundation (WCF) for TCP, for example, which requires listening at an address, is not available. Duplex communication with a Silverlight 3 client is achieved by having the client poll a destination server for messages within an established session over HTTP. This is useful in scenarios where data must be pushed to a Silverlight client when it is updated on the server.

In addition to HTTP, two protocols are used by the Silverlight 3 polling duplex feature. The Net Duplex Protocol is implemented to establish the client session with a server and WS-Make Connection (WS-MC) is used to establish a back channel using polling so that server-initiated messages can be delivered to the client.

This section contains procedures on how to build a Silverlight-enabled duplex service and on how to access this duplex service from a Silverlight client application.

In This Section

How to: Build a Duplex Service for a Silverlight Client
Describes how to create a Silverlight-enabled Windows Communication Foundation (WCF) duplex service that can communicate with a Silverlight client using the polling duplex message pattern.

How to: Access a Duplex Service
Describes how to create a Silverlight client that can communicate with a WCF service using the polling duplex message pattern.

Reference

See Also

Send comments about this topic to Microsoft.

Copyright © 2009 by Microsoft Corporation. All rights reserved.
Community Content

Link is broken
Added by:Thomas Lee

Link to How to Build a Duplex Service (SL 3 Beta) should be http://msdn.microsoft.com/en-us/library/dd470106(VS.96).aspx

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View