Click here to Skip to main content
15,884,836 members

Comments by amsga (Top 23 by date)

amsga 27-Jul-21 7:21am View    
When I run the application, it does not thrown any errors until I try connecting to the Hub. That is when it states that my controller does not exist for some reason. My initial assumption is that the Dependency Injection would cover it.
amsga 26-Jul-21 21:36pm View    
I am fine if you made the assumption for the XY problem. But I want to further understand why it should not be called from a controller. If I were to move the logic from the Controller to the business layer to be called from both the Controller and the Hub, I would like to understand what else do I need to look out for. My concern is that I would have the same error that I am having now occuring on both ends.
amsga 26-Jul-21 21:20pm View    
Added in the codes for one of the Controllers and Hubs. Data is taken from a database which is updated from another software, if that matters.
amsga 23-Jul-21 9:19am View    
I've got a simple Hub based on Microsoft SignalR documentation for server. But I can't seen to call functions from my existing Web API Controller.
amsga 22-Jun-21 5:55am View    
Thanks, I'll take a look at SignalR. From what I initially understand, is it all through a single socket with nothing to indicate the message type other than the contents?