Blazorpack Here
Enter — an experimental, community-driven tool that flips the script. What is BlazorPack? BlazorPack is a packer/compressor and bundler for Blazor WebAssembly apps, but with a desktop twist. Its primary goal: package your entire Blazor WebAssembly app into a single, self-extracting, native executable — no separate server, no console windows, and no “right-click > inspect element” unless you want it.
And sometimes, magic is exactly what shipping needs. Have you used BlazorPack or something similar? Let me know in the comments — I’d love to hear your “single EXE” war stories.
They wanted . No dependencies. Just click and run. blazorpack
Given the rise of and Native AOT , I wouldn’t be surprised if .NET 10 or 11 includes something like dotnet publish --blazor-embedded .
Until then, BlazorPack fills a real niche. Yes, if you’ve ever thought: “I love Blazor, but why can’t my desktop app be just one file like a Win32 app from 1999?” Enter — an experimental, community-driven tool that flips
dotnet add package BlazorPack dotnet build -c Release blazorpack --input bin/Release/net8.0/wwwroot --output MyApp.exe That’s it. Your MyApp.exe is ready to ship. Interesting question. .NET already has dotnet publish --single-file for console apps, but not for Blazor WebAssembly. Microsoft’s official answer for desktop Blazor is Blazor Hybrid (MAUI/WPF), which does not produce a single EXE.
The : No runtime installation. Your user gets an EXE that contains Blazor’s WebAssembly runtime, your app, and a minimal embedded web host. It’s like Electron, but with C# and 1/10th the memory usage. But… Is It Production Ready? Honest answer: Not for everyone. Its primary goal: package your entire Blazor WebAssembly
You ship a Blazor WebView inside a .NET MAUI or WPF shell. The user installs your app. Behind the scenes, your Blazor UI is still being served from embedded files. It works… but doesn’t it feel like your desktop app is pretending to be a website?