Unable to resolve service for type 'Microsoft.AspNetCore.SignalR.Hub`1[Ixxxx]' while attempting to activate 'xxxxx' #25166
Answered
by
BrennanConroy
ViacheslavUKR
asked this question in
General
-
I define my typed SignalR Hub service as
Then define interface IOutputMessage and realization:
Than inject this service to comtroller
After I try to connect to my SignalR hub I receive
What I doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
BrennanConroy
Aug 23, 2020
Replies: 1 comment 13 replies
-
Why is |
Beta Was this translation helpful? Give feedback.
13 replies
Answer selected by
ViacheslavUKR
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why is
Hub<IOutputMessages> hubContext
in the constructor of your Hub? That's what is causing issues.