Some time ago, I build a Blazor Server application and encapsulated it into an Electron.NET app so that I can ship it as a single-file executable.
On Build 2022, Microsoft announced ASP.NET Core Blazor Hybrid with .NET MAUI.
Does anyone know whether a Blazor Hybrid app with .NET MAUI can also be shipped as a single-file executable? Or is it the pseudo-single-file like we have today for ASP.NET Core projects (with exe
file and wwwroot
folder)?
Thanks in advance!
On Windows, .Net Maui targets WinUI 3, and is a “single project MSIX” package.
See Publish a .Net Maui App for Windows.
That is a single file, BUT running it starts an install. So the answer is “yes” if goal is a single file that can be launched,
but “no” if goal is a self-contained executable that runs immediately, without starting an install. If that is goal, open an issue at maui github.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With