Hello, I have a question in StackOverFlow but nobody helped me yet.
I use this tutorial:
http://autofaccn.readthedocs.io/en/latest/integration/signalr.html
for injecting my services.
I use the OWIN section and everything was ok when I injected the ILifetimeScope:
public AdminHub(ILifetimeScope lifetimeScope)
{
_hubLifetimeScope = lifetimeScope.BeginLifetimeScope();
}
But I don't need this object to inject, I want to inject some service for using my db to update connection and more parameters.
public AdminHub(IUserService userService)
{
_userService = userService;
}
How to register the UserService, I tried everything but I didn't success.