开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜