How can I receive a message from one client and Callback to all Clients connected to the Host to send that message?
+2
A:
This is called a "publish-and-subscribe" service - there's a number of ways you can achieve this in WCF - see those blog posts and articles for more information:
- Building your own ESB - Publish / Subscribe
- Using Callback Contracts in WCF for Asynchronous Publish/Subscribe Event-Style Communication
- Design Patterns: List-Based Publish-Subscribe
- Windows Azure – Service Bus Publish/Subscribe Example
Marc
marc_s
2009-09-27 19:49:02