title: How to call from server to client with SignalR?
body: <p>I'm following <a href="https://github.com/SignalR/SignalR/wiki/Hubs" rel="nofollow">"Broadcasting over a Hub from outside of a Hub"</a>, but my client browser isn't getting any messages. No errors either. It's like signalR doesn't know about my browser when it comes time to pull the hubContext and send messages.</p>
  
  <p>However, my hub DOES act as expected when calling from client to hub.</p>
  
  <p>My hub:</p>
  
  <pre><code>[HubName("myHub")]
  public class MyHub : Hub
  {        
      public void SaySomething(string message)
      {
          Clients.say(message);
      }
  
      public void SayHelloWorld()
      {
          Clients.say("hello world");
      }
  
  }
  </code></pre>
  
  <p>Code from other place and time in server: </p>
  
  <pre><code>var context = GlobalHost.ConnectionManager.GetHubContext&lt;MyHub&gt;();
  context.Clients.say(message);
  </code></pre>
  
  <p>And my client script:</p>
  
  <pre><code>&lt;script src="Scripts/jquery.signalR-0.5.3.js" type="text/javascript" &gt; &lt;/script&gt;
  &lt;script src="signalr/hubs"&gt; &lt;/script&gt;   
  
  &lt;script type="text/javascript"&gt;
      var hub = $.connection.myHub;
  
      $.extend(hub, {
          Say: function(message) {
              alert(message); //this only works when the sayHelloWorld() method is executed
          }
      });
  
      $.connection.hub.start()
          .done(function(){
              hub.sayHelloWorld(); //this works
          });
  &lt;/script&gt;
  </code></pre>