1 / 14

Common Language Runtime

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Common Language Runtime www.ustudy.in

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

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

  4. Common Language Runtime Negative Code www.ustudy.in

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

  6. Managed Code Execution Process www.ustudy.in

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

  8. Architecture of CLR www.ustudy.in

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

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

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

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

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

  14. The End …… Thank You …… www.ustudy.in

More Related