- Added dark mode
- Upgraded to MQTTNet 4.3.7
- Added IIS compatibility
- Added file logging (https://github.com/adams85/filelogger)
- Removed port configuration as that is managed by IIS
A simple Server-side Application hosting a Mqtt Broker and Dashboard UI for real-time monitoring using ASP.NET Blazor Server to quickly build and test custom Mqtt infrastructure.
-
Install Microsoft .NET SDK 6.0
-
Clone Project from GitHub
-
Start Host from CLI (in Project Root Folder)
$ dotnet run
-
Access Dashboard UI in Browser: http://localhost:5000
-
Install Docker Desktop
-
Clone Project from GitHub
-
Run as Docker Service (in Project Root Folder):
$ docker-compose up -d
-
Access Dashboard UI in Browser: http://localhost:5000
Port configuration is stored in "HostConfig.json" and loaded at startup.
- Tcp Port: 1883 (regular Mqtt over Tcp)
- Http Port: 5000
-
"/"-endpoint serves Dashboard UI
-
"/mqtt"-endpoint serves _Mqtt over TCP
- MQTTnet Mqtt Library that supports Mqtt over WebSockets
- MudBlazor Material Design UI Framework for Dashboard Web Frontend
- Json.NET Json Library to load/save Config File
- Karambolo.Extensions.Logging.File Lightweight implementation of the Microsoft.Extensions.Logging.ILoggerProvider interface for file logging