title: signalR javascript runtime Object does not support property
body: <p>I am a C# algorithmic programmer trying to integrate <code>SignalR</code> so that I can send progress messages on long running codes.  </p>
  
  <p>The following simple prototype fails on </p>
  
  <p><code>helloConnection.sayHelloToAll("Hello all!");</code> </p>
  
  <p>with JavaScript error "Object doesn't support property......" although a right click on <code>helloConnection</code>. clearly shows the method. No similar instance of this message that I have found applies to my example.</p>
  
  <p>Please can someone help: I have spent weeks of frustration trying to make this work. Here is the client. It is in my Master page because my messages will go on the header. </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head id="Head1"&gt;
      &lt;link href="Styles/SiteBlue.css" rel="stylesheet" e="text/css" /&gt;
      &lt;title&gt; Seeker-Home Page&lt;/title&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"&gt;      &lt;/script&gt;
      &lt;script src="Scripts/json2.js"&gt;&lt;/script&gt;
      &lt;script src="Scripts/jquery.signalR-2.2.0.js"&gt;&lt;/script&gt;
      &lt;script src="SignalR/Hubs"&gt;&lt;/script&gt;
  
      &lt;script type="text/javascript"&gt;
          $(); //document ready
          var helloConnection = $.connection.seekerHub;
  
          helloConnection.client.sayHelloToMe = function (message) {
              alert(message);
          };
  
          $.connection.hub.start().done(function () {
              helloConnection.sayHelloToAll("Hello all!");
          });
          function displayPopup() {
              alert("Hello, world.");
          };
      &lt;/script&gt;
  </code></pre>
  
  <p>and here is the hub</p>
  
  <pre><code>using Microsoft.AspNet.SignalR;
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.UI.WebControls;
  
  namespace SignalR
  {
        public class SeekerHub : Hub
        {
              public void SayHelloToAll(string message)
              {
                    Clients.All.sayHelloToMe(message);
                    var callingClient = Context.ConnectionId;
              }
        }
  }
  </code></pre>
  
  <p>Thanks in advance for any help you can give me.</p>