title: SignalR hubclass in classlibrary
body: <p>I have a signalr hubclass in a classlibrary </p>
  
  <p>and when i use that hubclass in my webapplication referencing that class library with below javascript code, it does not work, </p>
  
  <pre><code>$(function () {
  
      var chat = $.connection.notificationHub;
  
      chat.client.newMessage = function (message) {
          alert(message);
  
          $('#messages').append('&lt;li&gt;&lt;strong&gt;' +  message + '&lt;/strong&gt;: &lt;/li&gt;');
      };
      $.connection.hub.start();
  });
  </code></pre>