We created a self-host SignalR
server and our WPF Desktop application is connecting to that server. We are just doing login-logout management, everything is simple and working. But after sometime, usually 2-3 hours, half of the client are disappearing from online clients list.
It appears that, OnDisconnected
event is triggered on server for connections, even though they are not closed. After OnDisconnected
event, these connections can still send and receive data.
Is there any scenario that causes to OnDisconnected
event triggered on server when connection is not closed?