Using SqlDepedency OnChange event with SignalR adds new global event on each refresh and each time new client connects
问题 Usually I manage to solve a problem by reading posts here, but this time I can't seem to find the specific answer to my problem. I've been trying SignalR for pushing database changes to each client connected using SqlDependency - this didn't take me long to accomplish. The problem is that each tutorial is giving the exact same examples on how to push notifications to the users/clients, but I can't seem to get it to work. My code looks like this: Startup I initialize the following line when my