VB

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

VB.

NET
Introduction to .NET Framework
According to Microsoft, the .NET Framework is a software development framework
for creating and running applications on Windows. It is part of the .NET platform,
which is a set of technologies for building apps for various operating systems such
as Linux, macOS, Windows, iOS, and Android.
Types of .NET Frameworks
.NET is a platform for developers that consists of tools, programming languages, and
libraries used to build different applications like Desktop, Web, Mobile, and more.
There are different versions of .NET available, each allowing .NET code to run on
various operating systems such as Linux, macOS, Windows, iOS, Android, and
others.

1. .NET Framework is the original implementation of .NET. It supports running


websites, services, desktop apps, and more on Windows.

2. .NET is a software platform that allows you to run websites, services, and
console apps on Windows, Linux, and macOS. It is open source and was
previously known as .NET Core.

3. Xamarin/Mono is a .NET implementation for running apps on all the major


mobile operating systems, including iOS and Android.

Components of .NET Framework


The two major components of the .NET Framework are the Common Language
Runtime and the .NET Framework Class Library.

1. CL (Class Libraries)

2. CLR (Common Language Runtime)

.NET Framework Class Libraries:


The .NET Framework Class Libraries are created by Microsoft. They are essential for
writing code in .NET. Class Libraries are like the foundation of .NET Programs. They
are automatically installed when we install the .NET framework. Class Libraries
consist of pre-defined classes and interfaces that are used for developing
applications. They also offer a range of APIs and types for common functionality.
These include types for working with strings, dates, numbers, and more.

VB.NET 1
Starting with the .NET Framework 4, the default location for the Global Assembly
Cache is %windir%\Microsoft.NET\assembly. In earlier versions of the .NET
Framework, the default location is %windir%\assembly.
Common Language Runtime (CLR):

CLR stands for Common Language Runtime. It is the core component of the .NET
framework. CLR converts MSIL code into native code and provides the runtime
environment to execute the code. In simple terms, CLR is the engine that runs
applications. It handles tasks like managing threads, garbage collection, type safety,
exception handling, and more.
In the .NET framework, the Code is Compiled Twice:

1. In the first compilation, the source code is compiled by the language compiler
and generates the intermediate code known as MSIL (Microsoft Intermediate
Language) or IL (Intermediate language code) or Managed Code.

2. In the 2nd compilation, MSIL code is converted into Native code (native code
means code specific to the Operating system so that the code is executed by the
Operating System) and this is done by CLR.

Always 1 compilation is slow and 2 compilation is fast.

What is JIT?

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

What is not .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 numerous programming languages and
technologies. It supports over 60 programming languages, 9 of which are designed

VB.NET 2
by Microsoft, while the rest are designed by non-Microsoft entities. The programming
languages designed by Microsoft are listed below:

1. VB.NET

2. C#.NET

3. VC++.NET

4. J#.NET

5. F#.NET

6. Jscript.NET

7. WindowsPowerShell

8. Iron python

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)

Common Language Runtime in C#.NET - Dot Net Tutorials

.NET Program Execution Process - Dot Net Tutorials

Visual Studio.NET IDE

VB.NET 3

You might also like