CLR-Common Language Runtime
It Provides the execution environment for .net applications.This CLR is called as the execution engine of dotnet framework.All dotnet programs execute under the supervision of CLR.
The CLR provides many services:
Ø It loads and executes the code.
Ø It supports for debugging.
Ø It provides type-checking
Ø It handles exceptions
Ø It converts the IL(Intermediate Language) into machine level language.
Ø It enforces security.
Architecture of Common Language Runtime CLR
It Provides the execution environment for .net applications.This CLR is called as the execution engine of dotnet framework.All dotnet programs execute under the supervision of CLR.
The CLR provides many services:
Ø It loads and executes the code.
Ø It supports for debugging.
Ø It provides type-checking
Ø It handles exceptions
Ø It converts the IL(Intermediate Language) into machine level language.
Ø It enforces security.
Architecture of Common Language Runtime CLR
Working of CLR
Ø The ClassLoader –which loads the classes in to CLR
Ø MSIL to native code compiles and converts IL codes to native machine codes.
Ø The code manager manages the code during execution
Ø Automatic memory management can be performed by memory allocation and garbage collector.
Ø Security engine provides the security restrictions as code level security folder level and machine level security using tools provide
by Microsoft dotnet framework.
Ø The multithreading applications can be provided by Thread support.
Ø Exception manager handles the run-time exceptions handling.
Ø Debug engine allows the developer to debug different types of applications.
Ø COM marshaler, allows .NET applications to exchange data with COM applications.
Ø Base class library support provides the classes or types that the applications need at run time.
Ø The ClassLoader –which loads the classes in to CLR
Ø MSIL to native code compiles and converts IL codes to native machine codes.
Ø The code manager manages the code during execution
Ø Automatic memory management can be performed by memory allocation and garbage collector.
Ø Security engine provides the security restrictions as code level security folder level and machine level security using tools provide
by Microsoft dotnet framework.
Ø The multithreading applications can be provided by Thread support.
Ø Exception manager handles the run-time exceptions handling.
Ø Debug engine allows the developer to debug different types of applications.
Ø COM marshaler, allows .NET applications to exchange data with COM applications.
Ø Base class library support provides the classes or types that the applications need at run time.