Engr Umair shah

According to your code, we could find you add the HubName attribute to specify a different name for clients to use, so on JavaScript clients you could get the reference to the generated client proxy for the Hub as below.

var liveView = $.connection. liveView;

You could refer to this document to get more information about “ASP.NET SignalR Hubs API Guide - JavaScript Client”.