Decouple connection middleware from MQTTnet.AspnetCore
See original GitHub issueDescribe the feature request
As part of .NET Core 3.0, we’ve exposed some client /server networking abstractions (see https://github.com/aspnet/AspNetCore/issues/10308) that were made to serve as a foundation for projects like this build on top of. The MQTT layer should support a very thin way to wire up the MqttConnectionHandler with a way to write logic to handle messages (decoupled from the underlying transport).
MQTTnet.AspnetCore should expose the web specific wire up.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Decouple connection middleware from MQTTnet.AspnetCore
Describe the feature request As part of .NET Core 3.0, we've exposed some client /server networking abstractions (see ...
Read more >Server · dotnet/MQTTnet Wiki
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation...
Read more >IoTSharp/MQTTnet.AspNetCore.Routing
This addon to MQTTnet provides the ability to define controllers and use attribute-based routing against message topics in a manner that is very...
Read more >Factory-based middleware activation in ASP.NET Core
Learn how to use strongly-typed middleware with a factory-based activation implementation in ASP.NET Core.
Read more >how to use GetConnectedClientsAsync from MQTTnet. ...
I just want to show list of connected cliend in my controller and I found that GetConnectedClientsAsync method can be used. But I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@davidfowl im happy to adopt just let me know when there are shipped bits / things I can use without installing a preview version of vs / sdk
@davidfowl also setup looks a bit hacky. you should really rewrite that stuff to depend on service collection and maybe generic host.
so you can:
new HostBuilder() .AddConnections() .AddTcp() or AddWebSocket() or AddKestrel() or AddTransportXXXX .AddTls() .AddMqtt() .Build() .RunAsync()