SignalR/SignalR — Issue #134: DefaultHubLocator.GetAllHubs() returning list without application assembly
Author: MatsKarlsson
Created: 2012-01-13 21:55:27+00:00
State: open

Sometimes when starting a debug-session or publishing to webserver the automatic proxy generator fails to generate a correct /signalr/hubs-scriptfile.

It occurs in `Bootstrapper.Initialize()` when calling `RegisterHubModule();`

The page loading signalR is a dynamic ASP.NET MVC-page (Index-action on Home-controller), not a static HTML-file.

```
Immediate Window:
AppDomain.CurrentDomain.GetAssemblies();
{System.Reflection.RuntimeAssembly[17]}
[0]: {mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089}
[1]: {System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a}
[2]: {System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089}
[3]: {System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089}
[4]: {System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a}
[5]: {System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089}
[6]: {System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a}
[7]: {Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a}
[8]: {Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a}
[9]: {CppCodeProvider, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a}
[10]: {System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35}
[11]: {SignalR.AspNet, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null}
[12]: {System.Web.WebPages.Deployment, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35}
[13]: {System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35}
[14]: {System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35}
[15]: {Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35}
[16]: {SignalR, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null}
```