Presentation is loading. Please wait.

Presentation is loading. Please wait.

Common Language Runtime www.ustudy.in. Introduction  The common language runtime is one of the most essential component of the.Net Framework.  It acts.

Similar presentations


Presentation on theme: "Common Language Runtime www.ustudy.in. Introduction  The common language runtime is one of the most essential component of the.Net Framework.  It acts."— 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 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 CLR www.ustudy.in

10 COM Marshaler:-  It allows the communication between the application and COM objects. Type Checker:-  It checks for Type safe checks at runtime. Architecture of CLR www.ustudy.in

11 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 CLR www.ustudy.in

12 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 CLR www.ustudy.in

13 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. Architecture of CLR www.ustudy.in

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


Download ppt "Common Language Runtime www.ustudy.in. Introduction  The common language runtime is one of the most essential component of the.Net Framework.  It acts."

Similar presentations


Ads by Google