.
Net Framework
The .Net framework is a software development platform developed by Microsoft. The
framework was meant to create applications, which would run on the Windows Platform.
.Net Framework Architecture
1. Common Language Runtime
The "Common Language Runtime " or CLR is a platform on which the .Net programs are
executed.
The CLR has the following key features:
Exception Handling - Exceptions are errors which occur when the application is
executed.
Garbage Collection - Garbage collection is the process of removing unwanted resources
when they are no longer required.
o .
Working with Various programming languages –
1. Language - The first level is the programming language itself, the most common ones
are VB.Net and C#.
2. Compiler – There is a compiler which will be separate for each programming language.
So underlying the VB.Net language, there will be a separate VB.Net compiler.
3. Common Language Interpreter – This is the final layer in .Net which would be used to
run a .net program developed in any programming language. So the subsequent compiler
will send the program to the CLI layer to run the .Net application.
2. Class Library
The .NET Framework includes a set of standard class libraries. A class library is a collection of
methods and functions that can be used for the core purpose.
Most of the methods are split into either the System.* or Microsoft.* namespaces. A namespace
is a logical separation of methods.
3. Languages
The types of applications that can be built in the .Net framework is classified broadly into the
following categories.
WinForms – This is used for developing Forms-based applications, which would run on
an end user machine. Notepad is an example of a client-based application.
ASP.Net – This is used for developing web-based applications, which are made to run on
any browser such as Internet Explorer, Chrome or Firefox.
o The Web application would be processed on a server, which would have Internet
Information Services Installed.
o Internet Information Services or IIS is a Microsoft component which is used to
execute an Asp.Net application.
o The result of the execution is then sent to the client machines, and the output is
shown in the browser.
ADO.Net – This technology is used to develop applications to interact with Databases
such as Oracle or Microsoft SQL Server.