O'Reilly logo

Microsoft Silverlight 5 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using duplex communication over HTTP

Applies to Silverlight 3, 4 and 5

Most types of communication between a client and a server are initiated by the client. The client sends a request to the server and the server sends its response back to the client. However, we may sometimes need to inform the client about the changes that take place in the service. This will then be a server-initiated request to the client, as the server needs to push information to the client. This leads us to the fact that sometimes we may need so-called duplex communication, in which both the server and the client side can initiate the communication. This isn't possible out of the box because of the HTTP stack. HTTP is based on a client-initiated request, to which the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required