4 ms·
The framework is included with the application, so no install is needed. You can already generate a self-contained platform-agnostic deployment that includes th
by jsingleton 9y ago
The framework is included with the application, so no install is needed. You can already generate a self-contained platform-agnostic deployment that includes the framework, but it contains lots of files. You need to specify the platform, yet that is just for the bootstrapper. There are also some pre-requisites that have to be installed, such as SSL libs.
.NET Native (a.k.a. CoreRT) is more like what you get with Go, a single native binary. You need to know the CPU architecture ahead-of-time, but it has performance advantages. You can also strip out unused code with IL Linker and do things like Profile Guided Optimisation.
Keep in mind that if you're using Docker containers then you probably want to share the framework, otherwise this will increase the size.
There's some more discussion around this in the .NET Core talks that I've given: https://unop.uk/talks/ https://unop.uk/talks/
- tree_of_item 9y ago> .NET Native (a.k.a. CoreRT) is more like what you get with Go, a single native binary. I think this really needs to be emphasized, it's a great feature and this was the one question I had when I clicked the link, but I didn't get the answer until I came here.