public static void Start() { DynamicModuleUtility.RegisterModule(typeof(HubModule)); // Replace defaults with asp.net implementations var typeResolver = new BuildManagerTypeResolver(); var hubLocator = new BuildManagerTypeLocator(); DependencyResolver.Register(typeof(IHubTypeResolver), () => typeResolver); DependencyResolver.Register(typeof(IHubLocator), () => hubLocator); TransportManager.InitializeDefaultTransports(); }