Last post Jan 05, 2015 07:07 PM by Ruchira
Jan 03, 2015 03:20 PM|mou_inn|LINK
please tell me in when signalr connect disconnect and reconnect method fire?
when disconnect method fire....if i refresh the browser or close the browser tab then disconnect will fire?
when reconnect function will fire.......tell me how to simulate something as a result i should see that reconnect is invoked. thanks
Jan 05, 2015 12:25 AM|Fei Han - MSFT|LINK
Thanks for your post.
As for your problem, I recommend to read this article which provides an overview of the SignalR connection, reconnection, and disconnection events.
Hope it will be helpful for you.
Jan 05, 2015 02:38 AM|mou_inn|LINK
thanks for your reply. can u tell me how can i simulate signalr reconnection function at my end. just tell me what i need to do as a result reconnection function should invoke which i can see and debug. thanks
Jan 05, 2015 07:07 PM|Ruchira|LINK
can u tell me how can i simulate signalr reconnection function at my end. just tell me what i need to do as a result reconnection function should invoke which i can see and debug.
AFAIK, reconnect event occurs when either client or server lost the connectivity (Given the timeout values in the link Kevin mentioned are set properly. Please check that link for more information). So you can simulate it by either restarting the IIS application
pool or by disabling the network adapter.
Please 'Mark as Answer' if this post helps you