Base solution for your next web application
Open Closed

SignalR Reconnect and Disconnect Notification Message #9202


User avatar
0
amrsaafan created

Hello,

I would like to show a message to the user telling him that we lost connection to SignalR Server and we are connected again to SignalR server. I can see in this script file abp.signalr-client.js tryReconnect method is logging this message but I can't modify this script file because it will be overwritten when I publish.

So, the question is how to extend the functionality of SignalR to know when it is disconnected and reconnected.

Regards, Amr Saafan https://www.nilebits.com/

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    For now, you can override the existing file. If you can create an issue on https://github.com/aspnetboilerplate/aspnetboilerplate we can expose a function so you can just override this function.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)