You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MQTTnet AspNetCore Routing is a fork of https://github.com/Atlas-LiftTech/MQTTnet.AspNetCore.Routing
7
+
MQTTnet AspNetCore Routing is a fork of https://github.com/Atlas-LiftTech/MQTTnet.AspNetCore.AttributeRouting
8
8
9
9
This addon to MQTTnet provides the ability to define controllers and use attribute-based routing against message topics in a manner that is very similar to AspNet Core.
10
10
@@ -81,7 +81,13 @@ builder.Services
81
81
By default, all controllers within the executing assembly are
82
82
discovered (just pass nothing here). To provide a list of assemblies
83
83
explicitly, pass an array of Assembly[] here.
84
-
*/);
84
+
*/)
85
+
/*
86
+
optionally, set System.Text.Json serialization default for use with
87
+
[FromPayload] in the controllers. We can specify a JsonSerializerOptions
88
+
or use JsonSerializerDefaults, useful for case-sensitivity or comment-handling
0 commit comments