feat: implement SignalR notifications for project status changes

This commit is contained in:
2025-12-14 12:13:23 +03:30
parent 14fda440c1
commit da46d45601
8 changed files with 80 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
using Microsoft.AspNetCore.SignalR;
namespace ServiceHost.Hubs.ProgramManager;
public class ProjectBoardHub:Hub
{
public override async Task OnConnectedAsync()
{
Console.WriteLine($"{Context.ConnectionId} connected");
await Clients.All.SendAsync("ReceiveGreeting","A new user has connected to the Project Board Hub!");
await base.OnConnectedAsync();
}
}