开发者

How to update datat in clients from WCF service after updating data on server?

When on开发者_运维百科e of clients changes some data on server I need to send a message from WCF service to all clients that makes them to download changed data. How can I make that?


You are looking for Publish-subscribe message exchange pattern where all client first have to register on the service (subscribe) when service receives new data it sends them to all other clients (publish).

WCF support this when using duplex communication - Net.Tcp or WSDualHttpBinding. You can check complex artice by Juval Lowy in MSDN magazine.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜