The library goes beyond basic buttons and inputs. It includes hard-to-build components out of the box:
The result: your Blazor app feels 100% native but is packaged like a single-portable executable. blazorpack
| Feature | Typical Blazor Hybrid | BlazorPack | |--------|----------------------|-------------| | Single EXE output | ❌ (many files) | ✅ | | Runs without .NET runtime installed | ❌ (needs .NET on host) | ✅ (self-contained WASM) | | UI debugging in production | ✅ (DevTools accessible) | ❌ (can be disabled) | | File size | ~70 MB | ~25–40 MB (compressed) | | Update mechanism | Standard MSI/ClickOnce | Replace one EXE | The library goes beyond basic buttons and inputs
It uses a specific implementation of the MessagePack for C# library, adapted to handle the complex RenderTreeFrame structures that represent UI changes. Security and Pentesting Security and Pentesting dotnet add package BlazorPack dotnet
dotnet add package BlazorPack dotnet build -c Release blazorpack --input bin/Release/net8.0/wwwroot --output MyApp.exe