How do you Resolve signalR v2.0 with StructureMap v2.6
问题 In Application_Start of Global.asax i have the following ObjectFactory.Initialize(cfg => { cfg.For<IDependencyResolver>().Singleton().Add<StructureMapDependencyResolver> (); }); My Interface for the Hub is public interface IDashboardHub { void Initialize(); } and my hub is as follows: public class DashboardHub : Hub, IDashboardHub { private readonly ICpeAccountService _accountService; public DashboardHub(ICpeAccountService service) { _accountService = service; } [Authorize] public void