Introduction to DOTNET Framework

Introduction to DOT NET Framework

In this article, I am going to give you an overview of the DOT NET Framework. This is important for you as a dot net developer to know the history and evolution of the DOT NET Framework. Here, in this article, we will discuss what was there before the DotNet Framework and what problems we face in that and how we overcome all those problems in DOT NET Framework.

Before DOT NET Framework COM  is there. So, let us first discuss what is COM and what problems we face in COM.

What is COM?

COM stands for Component Object Model. The COM is one of Microsoft Technologies. Using this technology we can develop windows applications as well as web applications. In earlier COM, VB is the programming language that is used to implement windows application and ASP is used to implement web applications.

What are the disadvantages of COM?

The major two disadvantages of COM is

  1. Incomplete object-oriented programming means it will not support all the features of OOPs.
  2. Platform dependent means COM applications can run on only Windows OS.

To overcome the above problems, the DOT NET Framework comes into the picture.

What .NET Represents?

NET stands for Network Enabled Technology. In .NET, dot (.) refers to object-oriented and NET refers to the internet. So the complete .NET means through object-oriented we can implement internet-based applications.

What is a Framework?

A framework is a software. Or you can say a framework is a collection of many small technologies integrated together to develop applications that can be executed anywhere.

What does the DOTNET Framework provide?

The DOTNET Framework provides two things are as follows

  1. BCL (Base Class Libraries)
  2. CLR (Common Language Runtime)
BCL

Base Class Libraries (BCL) is designed by Microsoft. Without BCL we can’t write any code in .NET. So, BCL is also known as the Building block of .NET Programs. These are installed into the machine when we installed the .NET framework. BCL contains pre-defined classes and these classes are used for the purpose of application development.

The physical location of BCL is C:\Windows\assembly

CLR

CLR stands for Common Language Runtime and it is the core component under the .NET framework which is responsible for converting the MSIL (Microsoft Intermediate Language) code into native code and then execution. In our next article, we will discuss CLR in detail.

DOT NET Framework Code Exceution Flow

In the .NET framework, the code is compiled twice.

  1. In the 1st compilation, the source code is compiled by respective language compiler and generates the intermediate code which is known as MSIL (Microsoft Intermediate Language) or IL (Intermediate language code) Or Managed Code.
  2. In the 2nd compilation, MSIL is converted into Native code (native code means code specific to Operating system so that the code is executed by the Operating System ) using CLR.

Always 1st compilation is slow and 2nd compilation is first.

What is JIT?

JIT stands for Just-in-time compiler. It is the component of CLR which is responsible for converting MSIL code into Native Code. This Native code is directly understandable by the operating system.

Different types of DOTNET Framework.

The .net framework is available in three different flavors

  1. DOTNET Framework: This is the general version required to run .NET applications on Windows OS only.
  2. .NET mono Framework: This is required if we want to run DOT NET applications on other OS like Unix, Linux, MAC OS, etc.
  3. DOT NET Compact Framework: This is required to run .NET applications on other devices like mobile phones and smartphones.

NOTE: MSIL is only CPU dependent and will run only on Windows OS only using .NET Framework because .NET Framework is designed for Windows OS only.

There is another company known as “NOVEL” designed separate framework known as “MONO Framework”. Using this framework we can run MSIL on different OS Like Linux, UNIX, Mac, BSD, OSX, etc.

.NET is platform-dependent using the .NET framework but independent using the MONO framework.

What is not DOT NET?
  1. .NET is not an Operating system.
  2. It is not an application or package.
  3. .NET is not a database
  4. It is not an ERP application.
  5. .NET is not a Testing Tool.
  6. It is not a programming language.
What is exactly DOTNET?

.NET is a framework tool that supports many programming languages and many technologies. .NET support 60+ programming languages. In 60+ programming languages, 9 are designed by Microsoft and remaining are designed by non-Microsoft.

Microsoft designed programming languages are as follows

  1. VB.NET
  2. C#.NET
  3. VC++.NET
  4. J#.NET
  5. F#.NET
  6. Jscript.NET
  7. WindowsPowerShell
  8. Iron phyton
  9. Iron Ruby

Technologies supported by the .NET framework are as follows

  1. ASP.NET (Active Server Pages.NET)
  2. ADO.NET (Active Data Object.NET)
  3. WCF (Windows Communication Foundation)
  4. WPF (Windows Presentation Foundation)
  5. WWF (Windows Workflow Foundation)
  6. AJAX (Asynchronous JavaScript and XML)
  7. LINQ (Language Integrated Query)
What a language is and its need?
  1. Language acts as the mediator between the programmer and the system.
  2. It offers some rules and regulations for writing the program.
  3. The language also offers some libraries which are required for writing the program.
What are Technology and its needs?
  1. Technology is always designed for a particular purpose.
  2. For example development of web-related applications in .NET using a technology ASP.NET.
  3. But the technology does not offer any specific rules for writing the programs. That’s why technology can’t be implemented individually.
  4. VB.NET, C#.NET both are programming languages. Using these two languages we can implement windows/desktop applications individually.
  5. Every language is having its own compiler

DOTNET Framework Compilers and Their Extensions

That’s it for today. In the next article, I am going to discuss the Common Language Runtime (CLR) in .NET Framework.

1 thought on “Introduction to DOTNET Framework”

Leave a Reply

Your email address will not be published. Required fields are marked *