3 ms·
You can also publish .NET apps/services directly as container images [1]. Or you can distribute them as a single file, standalone, "ready to run" application,
by rbehrends 3y ago
You can also publish .NET apps/services directly as container images [1].
Or you can distribute them as a single file, standalone, "ready to run" application, which precompiles your methods and includes the JIT. This results in a larger executable, but keeps all the functionality, including reflection and runtime code generation, intact.
And, of course, you can install .NET core directly on your Linux system, just as you would for Python or Ruby (where you also don't usually rely on the default installation).
[1] https://learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container?pivots=dotnet-7-0 https://learn.microsoft.com/en-us/dotnet/core/docker/publish...