title: SignalR + posting a message to a Hub via an action method
body: <p>I am using the hub- feature of SignalR (<a href="https://github.com/SignalR/SignalR" rel="noreferrer">https://github.com/SignalR/SignalR</a>) to publish messages to all subscribed clients:</p>
  
  <pre><code>public class NewsFeedHub : Hub
  public void Send(string channel, string content)
  {
      Clients[channel].addMessage(content);
  }
  </code></pre>
  
  <p>This works fine when calling "Send" via Javascript, but I would also like the web application to publish messages (from within an ASP.NET MVC action method). I already tried instantiating a new object ob NewsFeedHub and calling the Send method, but this results in an error (as the underlying "Connection" of the Hub is not set). Is there a way to use the Hub without a connection?</p>