You can use below code at client side
var NotificationConnection;
$(document).ready(function () {
try {
NotificationConnection = $.connection.Notification;
NotificationConnection.client.UpdateUnreadCountClient = function (objCount) {
}
$.connection.hub.logging = false;
$.connection.hub.start().done().fail(function (reason) {
console.log("SignalR connection failed: " + reason);
});
}
catch (error) { }
});
Which call a class having hub attribute with name Notification
and for class code first you have to share your complete code with class structure, so that i can find out problem in your code