calling windows service using silverlight
How can i call a开发者_运维技巧 windows service using silver light?
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.
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.
精彩评论