Microsoft.NET Framework — What is .NET Framework and its Components

Nitish Bharadwaj
3 min readOct 7, 2017

--

Introduction

In this article I will show you all details about Microsoft DOT NET Framework , like what is .NET FRAMEWORK, Components of .NET framework in details ..

What is Dot NET Framework ?

The .NET Framework is a software framework developed by Microsoft .Microsoft started development on the .NET Framework in the late 1990s originally under the name of Next Generation Windows Services (NGWS). By late 2000 the first beta versions of .NET 1.0 were released.

Microsoft Dot NET Framework is a Plateform not a new language which is used to developed several type of application as described below

1. Window Application

2. Console Application

3. Web Application

4. WCF Application

5. WPF Application

6. Facebook Application

7. Mobile Application

What is the components of DOT NET Framework ?

Dot NET Framework is a platform that provides an Environment to develop, run and deploy Windows, Web and Enterprise applications. It mainly contains two components,

1. Common Language Runtime (CLR)

2. Base Class Library.

  1. Common Language Runtime (CLR)

.Net Framework provides runtime environment called Common Language Runtime (CLR).It provides an environment to run all the .Net Programs. The code which runs under the CLR is called as Managed Code. Programmers need not to worry on managing the memory if the programs are running under the CLR as it provides automatic memory management and thread management.

Means when our program needs memory, CLR allocates the memory for scope and de-allocates the memory if the scope is completed.

Dot NET Framework support more than 40 language and every language has a separate compiler. Language Compilers (e.g. C# Compiler) will convert source code into Microsoft Intermediate Language (MSIL) Code and CLR Convert MSIL Code into Native Code or Machine Code

2. Base Class Library

Base Class Library is a predefined library which is defined in C# Language it is also called as Common Base Class Library because it is common for all types of application . Base Class Library contain several classes and methods which you can use in your program .

Base Class Library is common for all language you can use it to in all the 40 language supported by DOT NET Framework

3.Common Type System

Common Type System specify that all data types used in different .Net languages converted into common type . Means CTS ensures that objects written in different .Net languages can interact with each other.

4. 4. Common Language Specification (CLS)

Common Language a set of rules that needs to be adhered or satisfied by all language compilers targeting CLR. It helps in cross language inheritance and cross language debugging.

Common language specification Rules:

It describes the minimal and complete set of features to produce code that can be hosted by CLR. It ensures that products of compilers will work properly in .NET environment.

Sample Rules:

1. Representation of text strings

2. Internal representation of enumerations

3. Definition of static members and this is a subset of the CTS which all .NET languages are expected to support.

4. Microsoft has defined CLS which are nothing but guidelines that language to follow so that it can communicate with other .NET languages in a seamless manner.

--

--

Nitish Bharadwaj

.NET Developer with a passion for software development especially with agile practices,with an in depth knowledge of OOP,Domain Driven Design, Design Patterns