-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decouple connection middleware from MQTTnet.AspnetCore #756
Comments
@JanEggers This is something that might be worth a look when you do #464 once 3.0 is released. |
More information here https://github.com/davidfowl/BedrockTransports |
@davidfowl thx for pointing it out. I will have a look once 3.0 is out. are there any official packages besides kestrel that implement these abstractions? like a tls middleware, a tcp server or a tcp client because that are the parts that are lacking today. without these implementations I see no reason not to depend on kestrel directly. |
@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() |
That’ll be a separate assembly. |
@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 |
@JanEggers Could you please have a look if here is something to do? |
Describe the feature request
As part of .NET Core 3.0, we've exposed some client /server networking abstractions (see dotnet/aspnetcore#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.
The text was updated successfully, but these errors were encountered: