Saturday, May 3, 2014

Common Language Runtime

Runtime can be defined as a collection of services that are required to execute a given compiled unit of code.
.NET Runtime provides a single, well defined runtime layer that is shared across all.NET aware languages and is called as Common Language Runtime a.k.a. CLR.

Apart from code execution , CLR provides memory management, thread management, security management, code verification and compilation.

Lets discuss the roles of CLR as given below

Base Class Libraries : This provides class libraries required for an application in .NET world. CLR converts the source code into an intermediate language called Microsoft Intermediate Language (MSIL).

Thread Support: CLR manages the parallel execution of code via threading.

Code Manager : CLR manages the compiled Intermediate Language

Garbage Collector
Garbage Collector handles automatic memory management and it will release memory of unused objects in an application, this provides automatic memory management.

CLSCommon Language Specification (CLS) is defined as a set of rules that describes the minimal and complete set of features a given .NET aware compiler should support. 

CTSCTS defines how various types are declared, used and managed in Common Language Runtime in .NET world

Security Engine: It enforces security permissions at code level security, folder level security, and machine level security using Dot Net Framework setting and tools provided by Dot Net.

No comments:

Post a Comment

Installing ASP.NET MVC

Installing ASP.NET MVC Before we dive deep into the ASP.NET MVC, let’s install it our development machine. This is very straight forwa...