title: Sharing a SignalR hub between a WebApi and MVC project
body: <p>Is there a recommended approach to sharing a SignalR hub across two applications?</p>
  
  <p>The actual situation is a public facing WebAPI project and an internal MVC WebApp. What I'd like to do is call methods on a SignalR hub from the WebAPI project and have the results of these methods pushed to clients connected via the MVC app.</p>
  
  <p>Would the best option be to create a third 'Hub' project and have both projects connect to that? If so, how are the hub instances managed? Can both applications get a reference to the same hub from distinct app pools (and possibly hosts)?</p>
  
  <p>I read a little bit about <code>GlobalHost.ConnectionManager.GetHubContext</code>, would this suffice to get a effectively a singleton hub which both apps could use?</p>
  
  <p>Any thoughts greatly appreciated.</p>