Net Framework Components Net Framework Components have three basic components shown in the below figure. Common Language Runtime (CLR) On .Net Framework, execution environment is called the Common Language Runtime…
Component Of .Net Framework. Net Framework Components have three basic components shown in the below figure.
The .Net Framework execution environment is called the Common Language Runtime (CLR). The CLR manages program execution at run time. And hides from operating system and hardware. The source code for programs that are executed and managed by the CLR is called managed-code.
The CLR provides some services:
1) Memory management 2) Garbage collection 3) Code safety verification 4) Code execution 5) Thread management 6) Exception handling
Unmanaged-code programs do not have access to the CLR’s services. Which makes the unmanaged code more difficult to write. Managed code is compiled into machine-specific instructions in the following steps:
First of all, the code is compiled into Microsoft Intermediate Language (MSIL). This code converted into MSIL from other languages. This allows programmers to work in their preferred .NET programming language. The MSIL for an app’s components.