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(); } }