Replies: 1 comment
-
Ok i got IsStarted to be true to work by instantiating MqttHostedServer myself and doing a StartAsync as such:
However, InjectApplicationMessage does not work at all for some reason. These are the relevant parts in my MqttController:
Everything works except InjectApplicationMessage for some reason. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im following the Server_ASP_NET_Samples to have my mqttbroker working in asp.net. However, in my MqttController, when i inject the MqttHostedServer, it always shows IsStarted false. I want it to be true to enable me to use InjectApplicationMessage to inject application messages depending on certain situations. I have no idea how to set up my application to have the MqttHostedServer show as started. Everything works except injection application messages due to IsStarted being false. What am I missing?
This is my MqttController:
Beta Was this translation helpful? Give feedback.
All reactions