How to get reliable callbacks using WCF using NetTcpBinding

I plan to use NetTcpBinding for an application that needs to support manual synchronization.

Whenever a change of state occurs on the server, all connected clients must be informed.

However, I need the clients to automatically reconnect if there is a network problem, any unrealistic server callbacks for this client should not be lost. I also need the client GUI code to be informed if the connection to the server is lost and cannot be recreated. (or if the server reboots)

Does NetTcpBinding support WS-ReliableMessaging giving me this "out of window"?

+4
source share
1 answer

Check out this article here: Introduction to Trusted Messaging with the Windows Communication Foundation in the "Trusted Messaging Session Settings" section. In particular, the MaxRetryCount property may be what you are looking for.

+2
source

All Articles