Blazorpack !!link!! -

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. blazorpack

you need production-grade security, frequent updates, or platform support beyond Windows (though Linux/macOS experimental builds exist). Final Verdict BlazorPack is one of those clever hacks that reminds us: the Blazor ecosystem is still young and full of weird, wonderful experiments. It may never become the official way to ship Blazor to desktop — but for a Friday afternoon side project, turning your Blazor app into a double-clickable EXE feels like magic. dotnet add package BlazorPack dotnet build -c Release

They wanted . No dependencies. Just click and run. Your user gets an EXE that contains Blazor’s

BlazorPack is still a (as of early 2025). The original creator, Konstantin , built it for internal use and open-sourced it. Here’s where it shines vs. where it hurts:

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?”

Given the rise of and Native AOT , I wouldn’t be surprised if .NET 10 or 11 includes something like dotnet publish --blazor-embedded .