Monday, April 18, 2016

Common Language Runtime Architecture

  • Class Loader: In this component the compiler of the .Net Framework compiles the source code into intermediate code and it consists of MSIL code and Metadata and they are contained in a portable executable (PE) file.
  • Code Manager: This component manages the code during execution time. It is the responsibility of the code manager to allocate memory to the objects.
  • Garbage collector: This component provides the automatic garbage collection of the object when the object is no longer in use. 
  • Security Checker: It is the most important component of CLR. The responsibility is to restrict the access to system resources such as hard disk.
  • Type Checker: This component provides the facility of data type checking of the variable. It also checks the valid operations on the corresponding data type.
Framework Class Library
The .Net Framework class library is the collection of reusable types which can be integrated with the Common Language Runtime. The class library is the object oriented. The other main component of the .Net Framework is Framework Class Library which is a standard library. It is the collection of thousands of reusable classes, interfaces and value types.

No comments: