At the time of connection, I map the client identifier to another client and the subscription information that I create in a static variable. This works fine until the application pool recycles or I recompile and then lose my mappings.
Client connections persist after reusing the application pool, but I do not see anything in the OnConnectAsync () or OnReceivedAsync () methods.
I see in Firebug that a new POST is sent by my clients every 4 minutes. Is there some SignalR event that I can override to capture the incoming POST and rebuild my client mapping for current persistent connections?
Thank.
source
share