Lapiniot / Net.MQTT

0 stars 0 forks source link

'UseAdminWebUI' configuration option should be converted to the feature switch #22

Closed Lapiniot closed 1 day ago

Lapiniot commented 2 days ago

Currently Mqtt.Server's web UI can be completely disabled via 'UseAdminWebUI': false configuration setting. However, this is just simple configuration flag for application startup code and doesn't remove Blazor UI-ralated code from the application bundle if we don't need UI at all. Conversion to runtime feature switch gives us extra benefits: