Duplex Communication (Pull + Push)

So far, we've discussed means of providing one-way ("simplex") communication with the client. The client makes a request to a service, and in return gets a response. However, sometimes you want to be able to provide two-way ("duplex") communication between the client and the server, in which the server can “push” messages to clients. The client establishes a connection with the server, which is kept alive, thus enabling the server to push messages to the client, and avoiding the need for the client to constantly poll the server for new data. This is particularly useful when you have continually changing data (such as a stock ticker), want to be able to send out notification messages to the clients, or are implementing ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.