common language runtime
Skip this Video
Download Presentation
Common Language Runtime

Loading in 2 Seconds...

play fullscreen
1 / 14

Common Language Runtime - PowerPoint PPT Presentation

  • Uploaded on

Common Language Runtime. Introduction. The common language runtime is one of the most essential component of the .Net Framework . It acts as an agent to mange execution of code by providing the core services like Thread managing, remoting, security etc.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about ' Common Language Runtime' - deanna-cross

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
  • The common language runtime is one of the most essential component of the .Net Framework.
  • It acts as an agent to mange execution of code by providing the core services like Thread managing, remoting, security etc.
  • It provides an environment where all program in .Net run.

  • The CLR or the runtime provides functionality such as exception handling, security, debugging and versioning support to any language that targets it.
  • CLR hosts a variety of languages and offer a common set of tools. It is a foundation of .NET framework.
  • It is providing language integration without help of COMs.

managed code
Managed Code
  • The code that is run under CLR is called Managed code.
  • This code is directly executed by CLR with help of managed code execution.
  • Managed code uses CLR which in turns looks after your applications by managing memory, handling security, allowing cross - language debugging, and so on.

architecture of clr
Architecture of CLR
  • When you compile a program developed in a language that targets the CLR, the compiler translates the code into an intermediate language.
  • This language is CPU-independent. This means that the code can be executed from any platform that supports the .NET CLR.
  • In this way, platform independency attain in .NET environment.

architecture of clr1
Architecture of CLR

architecture of clr2
Architecture of CLR

Basic Class Library support:- 

  • It provides classes when application needs at execution time. 

Thread Support:- 

  • Thread is a light weight process. Process is nothing but the program which is in execution.
  • Thread support provide the multi-threading support to an application.

architecture of clr3
Architecture of CLR

COM Marshaler:- 

  • It allows the communication between the application and COM objects.

Type Checker:-

  • It checks for Type safe checks at runtime.

architecture of clr4
Architecture of CLR

Exception Manager:-

  • It handles all the runtime exceptions occurring during the execution of an application.

Security Engine:- 

  • It enforces security permissions as code level security, folder level security, machine level security using tools provided by Microsoft.NET and using .NET framework setting provided under control panel.

architecture of clr5
Architecture of CLR

Debug Engine:-

  • It performs the debugging at runtime.

MSIL to Nagative Compilers:- 

  • It compiles the MSIL code to native code.

Code Manager:- 

  • It manages the code.

architecture of clr6
Architecture of CLR

Garbage Collector:- 

  • It perform the garbage collection at runtime. It is very important for memory management in the .NET framework. The garbage collection process manages the allocation and deallocation of memory far an application. Whenever you crate an object, the CLR allocates memory for the object from the managed heap.

Class Loader:- 

  • It loads the classes into system memory.

the end
The End

…… Thank You ……