Saturday 19 March 2011

.NET FRAMEWORK ARCHITECTURE

.NET FRAMEWORK ARCHITECTURE  
This blog is very crucial if you are going for an IT interview. You should read it once before your interview.

Before going to .net framework architecture, We must have to know what exactly a .net is? 
.NET is a general-purpose software development platform, similar to Java. At its core is a virtual machine that turns intermediate language (IL) into machine code. High-level language compilers for C#, VB.NET and C++ are provided to turn source code into IL. C# is a new programming language, very similar to Java. An extensive class library is included, featuring all the functionality one might expect from a contemporary development platform - windows GUI development (Windows Form s), database access (ADO.NET), web development (ASP.NET), web services, XML etc.

Framework mainly consist of two main components:
1. Class library
2. CLR (Common language runtime)

Class Library includes Random, File, smtpclient and Graphic. Random work with generate random number, file work with files, Smtpclient enable to send emails, Graphic work with different images.

In CLR Framework, When we write an application for .net framework in a language such as C#, our source code is never compiled directly into machine code instead C# convert our code into a special language called MSIL (Microsoft intermediate language) which is understand by .net framework. MSIL code is then compiled by a special compiler Known as JITTER (Just in time compiler) to convert Microsoft intermediate language generated codes into machine codes.
  

No comments:

Post a Comment