4 ms·
> Can .NET deploy a static binary nowadays? You can bundle everything in a single file but that file contains the runtime, so even small Hello World apps are 5
by sbelskie 5y ago
> Can .NET deploy a static binary nowadays?
You can bundle everything in a single file but that file contains the runtime, so even small Hello World apps are 50MB+ last I checked, though there have been some improvements recently with trimming and AOT is hopefully coming next year with .NET 7.
- kbd 5y agoVery cool, thanks for answering. Yeah I understand they'd have to bundle the runtime so that makes sense. Glad to know they're working on improving that use case as well.
- wvenable 5y agoThey're really working on reducing the compiled (app + framework) size in order to make the WASM target in browsers more viable for Blazor.
- ripley12 5y agoYeah, starts closer to 12MB for a trimmed console app in .NET 6. It works really well (I've been distributing one for a few months now).