title: Startup.cs method app.MapSignalR() not generating hubs in signalR-2.0
body: <p>I'm getting 404 not found error since browser is unable to find /signalr/hubs. I'm using signalR-2.0.0-rc1 in a normal web application (not mvc). Following is the the related web.config settings</p>
  
  <pre><code>&lt;appSettings&gt;
    &lt;add key="owin:AppStartup" value="SignalRHubServer.Startup, SignalRHubServer" /&gt;
  &lt;/appSettings&gt;
  &lt;system.webServer&gt;
    &lt;modules runAllManagedModulesForAllRequests="true"&gt;
    &lt;/modules&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>Client code (/signalr/hubs used both ways):</p>
  
  <pre><code>&lt;head&gt;
    &lt;title&gt;SignalR Echo&lt;/title&gt;
    &lt;script type="text/javascript" src="Scripts/jquery-1.6.4.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="Scripts/jquery.signalR-2.0.0-rc1.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="/signalr/hubs"&gt;&lt;/script&gt;
    &lt;!--&lt;script type="text/javascript" src='&lt;%= ResolveClientUrl("signalr/hubs") %&gt;'&gt;&lt;/script&gt;--&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>Startup.cs is as below:</p>
  
  <pre><code>namespace SignalRHubServer
  {
    public class Startup
    {
      public void Configuration(IAppBuilder app)
      {            
          app.MapSignalR();
      }
    }
  }
  </code></pre>
  
  <p>When i debug, the breakpoint at app.MapSignaR() does get hit, but still i get the same 404 error. Following is a hub declaration</p>
  
  <pre><code>namespace SignalRHubServer
  {
    public class MyChatHub : Hub
    {
      public override Task OnConnected()
      {
          return base.OnConnected();
      }
    }
  }
  </code></pre>
  
  <p>I migrated the application from SignalR-1.1.3 and have removed the MapHubs() call from global.asax.cs. I have also uninstalled the related SignalR nuget packages. However, with SignalR-1.1.3 it used to work fine.</p>
  
  <p>Can anyone suggest what i might be doing wrong?</p>