Good afternoon When I tried to associate SignalR and Ninject, there was a problem with pulling up dependencies, in the hub class, that is, if I try to pull out a class that does not use DI, then everything is fine, but when I try to pull out a class that doesn’t work through the designer, . That's how I'm trying to pull
private IDirectory<IEventSourceApplicationModel> _repo; private IEventSourceApplicationService<IEventSourceApplicationModel> _eventSourceApplicationService; public AdminHub(IDirectory<IEventSourceApplicationModel> repo, IEventSourceApplicationService<IEventSourceApplicationModel> eventSourceApplicationService) { _repo = repo; _eventSourceApplicationService = eventSourceApplicationService; } public AdminHub() : this((IDirectory<IEventSourceApplicationModel>)NinjectWebCommon.resolver.GetService(typeof(IDirectory<IEventSourceApplicationModel>)), (IEventSourceApplicationService<IEventSourceApplicationModel>)NinjectWebCommon.resolver.GetService(typeof(IEventSourceApplicationService<IEventSourceApplicationModel>))) { } In the case of IDirectory, everything is fine as it does not contain DI in itself, but in the case of IEventSourceApplicationService it does not work as it in itself pulls another directory through DI