title: How to define signalR MapHub route in a multi-Tenant application
body: <p>SignalR ChatHub is defined as a controller.</p>
  
  <pre><code>[Route("{tenantName}/chatHub")]
  public class ChatHub: Hub
  </code></pre>
  
  <p>In startup configure method,</p>
  
  <pre><code>app.UseSignalR(routes =&gt;
  {
   routes.MapHub&lt;MessageHub&gt;("/dev/chatHub");
  });
  </code></pre>
  
  <p>This works fine in development environment.</p>
  
  <p>My question is, how can useSignalR method be defined so that mapHub path is independent of the tenant or there is a different way to define so as to work on all the tenants like <code>$"/{tenant}/chatHub"</code>?</p>