currently, am working on client server application using 3 layer architecture, User interface, API and than agsxmpp Library.
Hubs are written in class library, I want to create the object of hub from front end. below is the script, I have included all the packages of signal r in both class library and asp.net web forms.
<script src="/signalr/signalr/hubs"></script>
<script type="text/javascript">
$(function () {
//how can I create the object of hub which exists in class library
var connectionChat = $.connection.connectionChat;
debugger;
});
</script>