Friday, 27 May 2016

. NET FRAMEWORK

The  .Net framework is the platform which is used to create the environment to run and execute the manged code.
The .Net framework contains CLR (Common language Runtime),CTS and CLS(Common language specification) which help to create the Suitable environment for managed code execution.The managed code like C# goes through many phase before it convert to the  machine language. When we compile the C# code, then Compiler convert this code to MSIL (Machine Intermediate language) not to the machine language, this MSIL is  OS and Hardware independent. After creation of MSIL, the CLR comes in picture CLR call the JIT (Just in time compiler) to convert the MSIL to the Machine code. It convert the MSIL to the machine code as required demand basis,  means, when that particular code required, then  only that code converted to the Machine code not the complete code.

Ther are two different type of Language in .net framework Managed code and Unmanaged code.
The code which obey all the rule of CTS and CLS then it is called managed code 
.Net framework :=> A programing infrastructure created by microsoft for building deploying and running application and services that use .net technology.

The .net technology contain three main parts
1)CLR
2)CTS
3)CLS

This is the architecture of the .Net framework, where as CLR also has some internal architecure


There is the Architecture of CLR: The CLR contain  GC and code manager, The Garbage collector play important role in allocating and deallocating of memory
Here I am going to show how the  code execution can take place and what  are all the phase of execution.

No comments:

Post a Comment