What is .Net Framework - and its components - CLR, CTS, CLS, JIT, Class library, MSIL (IL)


Origin of .net technology


OLE(Object Linking and Embedding) Technology :-

It is a technology developed by Microsoft and use to embed documents from one application into another application and manipulate object in another application. For developers, it brought OLE Control Extension (OCX).

COM(Component object Model) Technology :-

Each component and model developed and tested independently, and then integrated it and tested in the system, this technology is called COM.
Distribute development across multiple department which enhances software maintainability and reduce the complexity of software.

.Net technology :-

COM provide binary mechanism for intermodule communication is replaced by an intermediate language(IL). IL allow cross language integration, that enable us to developed web application easily.
Three Generation Of Component Model
Three Generation of Component Model

what is asp.net framework

.NET Framework support ASP.NET, as well as Windows Forms development
The .NET Framework consists of three main parts:

.Net framework provide tools for managing user and application interface which enable user to develop desktop and web applications using variety of language.
Windows froms
console Applications
Web Form
Web Service
Architecture Of .Net Framework
Architecture Of .Net Framework

Componenets of .Net Framework

Common language runtime (CLR):-

CLR is a runtime environment in which programs written in c# and other .Net language. i.e CLR is responsible for managing the execution of the code compiled for the .Net platform. it also support cross language interoperability
Component of CLR

Service provide by CLR

.Net framework class library

.Net provide library of base class which help to support the efforts of developers by providing base classes from which developers can inherit. Much of the functionality in the base class reside in the namespace called System.

Common Type system (CTS)

Using CTS, .net framework support multiple language. Basically CTS support Varity of Types and operation of many language, so there is no need type conversion while calling one language from another.

Common language specification (CLS)

CLS is a subset of Common Type system (CTS) that helps third-party compiler designers and library builders and language supporting the CLS can use each other class library.

MSIL (Microsoft intermediate language) or IL (intermediate language)

When compile a programme written in CLS-Compliant language, the source code is compiled into MSIL or IL.

Mange Code

when CLR satisfy the Code at runtime in order to execute forward to managed code. The Compiler that compatible to the >net platform generate managed code.

JIT (Just in Time)

It is used to convert common intermediate language into native code (Machine code).

Different type Of JIT

Execution of programme in CLR and behave of its components
Execution of programme in CLR and behave of its components

Key Points

C#, VB, J# generate only Intermediate language where as c++ generate Intermediate language and native code Native code not store permanently, Every time native code generate whenever execute the programme

0 comments:

Post a Comment