views:

21

answers:

2

How can i call a windows service using silver light?

A: 

If it's a managed service that's in your control, you could host a WCF service in it for silverlight to communicate with.

Here's how to do that.

Gurdas Nijor
A: 

Using WCF is, as noted, the simplest solution. An alternative, if you don't want the (substantial) overhead introduced by WCF, is to use sockets, as demonstrated, for instance, here. If you control both sides of the equation, a framework like SocketsLight can take some of the pain out of sockets programming.

Ken Smith