title: Using AspNetCore.SignalR with in AspNet MVC 5
body: <p>Is there a way to configure an AspNetCore.SignalR (.Net Core SignalR Hub Server) implemented in a netstandard2.1 project which can be hosted from an AspNet MVC 5.</p>
  <p>I have implemented an AspNetCore SignalR Hub in netstandard2.1 project and now I want to host this hub from an MVC 5 project's startup file.</p>
  <p>Also in another class I need the HubContext which is passed into the class through dependency injection in constructor but MVC 5 does not have dependency Injection in startup class. How can I tackle this issue?</p>
  <pre><code>public class GroupChatConnectionManager
  {
          private IHubContext&lt;GroupChatHub, IGroupChatClient&gt; hubContext;
  
          public GroupChatConnectionManager(IHubContext&lt;GroupChatHub, IGroupChatClient&gt; hubContext)
          {
               this.hubContext = hubContext;
          }
  }
  </code></pre>
  <p>How to achieve this injection in MVC 5  As also the IHubContext has to be registered against an interface in startup for DI to work but IHubContext is not derived from any other interface.
  Thanks!</p>