Asp.net: CLR

CLR is component of .net Framework.It is execution engie.CLR called runtime in somecase.Source code compiler converted into MSIL code then execute it.

There are different component are given below:

  • Class loader
  • JIT compiler
  • Code Manager
  • Garbage collection
  • Security engine
  • Type checker
NET Framework is an important windows component that supports the execution of application created by using various programming language such as visual C#, Visual Basic, Visual C++.

Common Language runtime( CLR) is one of the most important component of  .NET Framework.
It Supervises the execution of a .NET program by Providing Various properties and controls in the area of memory management, security, and exception handling.

CLR is also called as the execution engine of .NET framework,And also known as RuntimeThe code run on CLR is runcode or manage code.There also provides security.It also managed the array,collection,folder.

NET application is Compiled into MSIL Code( Microsoft Intermediate Language) .MSIL code to Native Code with help of JIT( Just in Time Compiler)Provide the concepts of Managed code and Unmanaged Code.MSIL is a code that consists of CPU and platform independent set of instruction, which can easily converted to native code, also called intermediate language (IL).

An assembly is a logical DLL or EXE, and a manifest is a detailed description (metadata) of an assembly.The .NET compiler produces a portable executable PE file for CLR with the extensions of .exe or .dll.This PE file is mainly comprised of metadata and IL (Intermediate Language).Metadata contains a number of different tables; for example, a type definition table, a filed definition table, a method definition table, and so forth.By parsing these tables, we can get an assembly's types and attributes.