Common language runtime
This presentation is the property of its rightful owner.
Sponsored Links
1 / 14

Common Language Runtime PowerPoint PPT Presentation


  • 78 Views
  • Uploaded on
  • Presentation posted in: General

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.

Download Presentation

Common Language Runtime

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


Common language runtime

Common Language Runtime

www.ustudy.in


Introduction

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.

  • It provides an environment where all program in .Net run.

www.ustudy.in


Introduction1

Introduction

  • 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.

www.ustudy.in


Common language runtime negative code

Common Language Runtime Negative Code

www.ustudy.in


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.

www.ustudy.in


Managed code execution process

Managed Code Execution Process

www.ustudy.in


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.

www.ustudy.in


Architecture of clr1

Architecture of CLR

www.ustudy.in


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.

www.ustudy.in


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.

www.ustudy.in


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.

www.ustudy.in


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.

www.ustudy.in


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.

www.ustudy.in


The end

The End

…… Thank You ……

www.ustudy.in


  • Login