How to create Hub Proxy using AspNetCore SignalR
问题 Anyone know the AspNetCore SignalR equivalent of this code from AspNet SignalR? Task.Factory.StartNew(() => { //// var clients = Hub.Clients<RealTimeNotificationHub>(); var connection = new HubConnectionContext("https://demohouse.go.ro:96/"); var notificationmessag = new AlertMessage(); notificationmessag.Content = "New message from " + device.Name + " <b>" + text + " </b>"; notificationmessag.Title = alertType.Name; var myHub = connection.CreateHubProxy("realTimeNotificationHub"); connection