Using socket communication in Silverlight

Until now, all the communication with services has been initialized by the client. The Silverlight application makes a call to a service, which can be a WCF service, an ASMX service, or an RSS feed. After receiving the call, the service will start working by sending the response back to the Silverlight application. Such kind of communication is typically carried out by HTTP, which is based on a request model. A response will be sent based on a request.

Sometimes, we need the opposite. The initiative needs to be taken by the server by pushing data to its client(s). Initially, this client should register with the server, but from then on, the server can decide when it needs to send data to the connected ...

Get Silverlight 4 Data and Services Cookbook 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.