.NET Core internals
.NET Core contains two core components—the runtime CoreCLR and the base-class libraries CoreFX. In this section, we will cover the following topics:
- CoreFX
- CoreCLR
- Understanding MSIL, CLI, CTS, and CLS
- How CLR works
- From compilation to execution—under the hood
- Garbage collection
- .NET Native and JIT compilation
CoreFX
CoreFX is the code name of .NET Core's set of libraries. It contains all the libraries that start with Microsoft.* or System.*and contains collections, I/O, string manipulation, reflection, security, and many more features.
The CoreFX is runtime agnostic, and it can run on any platform regardless of what APIs it supports.
Note
To learn more about each assembly, you can refer to the .NET Core source browser at https://source.dot.net.
CoreCLR
CoreCLR provides the common language runtime environment for .NET Core applications, and manages the execution of the complete application life cycle. It performs various operations when the program is running. Operations such as memory...