سؤال

I have the an issue with Groups, sending message to groups via SQL back plane

I followed the steps outlined here , With out a back plane configured my client recives all messages via group, when i configure a back plane my client does not recived message.

I have put debug printing on OnDisconnected(), OnReconnected() and they are not fired. so i know the client is still connected

هل كانت مفيدة؟

المحلول

The problem was I was saving the IHubContext instance , I changed it so on every use I will take a fresh copy if the IHubContext like this :

GlobalHost.ConnectionManager.GetHubContext<MyHubName>()
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top