How to create custom WCF binding which effectively reverses the communication?
问题 I have Server sending requests to Agents. When the agent has something to say it sends replies to Server. All is clear and simple. Now, I wish to cancel the Server-to-Agent communication. In effect Agents will poll Server and get in reply if there is work to do. It seems to me that all of this should be encapsulated in a custom WCF binding, which would contain the following items at least: A reference to the effective WCF binding used to poll Server on the reversed Agent-to-Server channel.