O'Reilly logo

Pro Silverlight 5 in VB by Matthew MacDonald

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

Local Connections

As you've seen, Silverlight gives you considerable power to communicate with sockets, but the cost is complexity. Interestingly, Silverlight has another communication mechanism that's far simpler: the local connection model.

Whereas socket support allows a Silverlight application to communicate with virtually any networked program, on any computer (provided there's no firewall blocking the way), the local connection feature is far more modest. It provides a simple way for two Silverlight applications running on the same computer to interact. This feature is particularly suited to out-of-browser applications, because users are more likely to run them in combination and leave them loaded for long periods of time.

In the following ...

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