C# 7 and .NET Core 2.0 High Performance
上QQ阅读APP看书,第一时间看更新

How the CLR works

The CLR is implemented as a set of in-process libraries that are loaded with the application, and runs inside the context of the application process. In the following diagram, we have two .NET Core applications running, named App1.exe and App2.exe. Each black box represents the application process address space, where the applications App1.exe and App2.exe are running their own CLR version side by side:

When packaging the .NET Core applications, we can either publish them as framework-dependent deployments (FDDs) or self-contained deployments (SCDs). In FDDs, the published package does not contain the .NET Core runtime, and expects that the .NET Core is present on the target/hosting system. With SCDs, all the components, such as the .NET Core runtime and .NET Core libraries, are included in the published package, and the .NET Core installation on the target system is not required. 

To learn more about FDDs or SCDs, please refer to  https://docs.microsoft.com/en-us/dotnet/core/deploying/ .