title: SignalR hub Context.ConnectionId object reference error
body: <p>I went through a bunch of tutorials for SignalR and sending messages to a specific client. I am getting the following:</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>An object reference is required for the non-static field, method, or property 'HubBase.Context'</p>
  </blockquote>
  
  <p>Code:</p>
  
  <pre><code>public class ProgressHub : Hub
  {
  
      public string msg = "Initializing and Preparing...";
      public int counter = 1;
  
      public static void SendMessage(string msg, int count)
      {
          var message = msg;
          var hubContext = GlobalHost.ConnectionManager.GetHubContext&lt;ProgressHub&gt;();
          //Context.ConnectionId throwing error
          hubContext.Clients.Client(Context.ConnectionId).sendMessage(string.Format(message), count); 
      }
  
      public void GetCountAndMessage()
      {
          Clients.Caller.sendMessage(string.Format(msg), counter);
      }
  }
  </code></pre>
  
  <p>Not sure what I am doing wrong the line Context.connectionId is the exact same line they use yet mine is giving an object reference error?</p>