I am implementing WIF support for federated auth in Jabbr and I am registering WIF http modules on PreAppStart. The thing is that I need to get access to some config items via IApplicationSettings and to get access to that I need the container. So we had to move Bootstrapper to use PreAppStart instead of post. But after moving Bootstrapper to PreAppStart the hubs are not getting injected, seems like the resolver didn't discovered the Chat type with its ctor.
[MissingMethodException: No parameterless constructor defined for this object.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) +98
System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) +241
System.Activator.Creat