C#C
C#16mo ago
Steel

SignalR Groups not working

Nothing special, just trying to use groups in SignalR and it's just not working. Am I doing something wrong, and if not, anyone see this issue before?

.NET 8

Works
await _hubContext.Clients.All.SendAsync("Test");


Doesn't work
await _hubContext.Groups.AddToGroupAsync(HttpContext.Connection.Id, "Pizza");
await _hubContext.Clients.Group("Pizza").SendAsync("Test");
Was this page helpful?