DOCUMENT NO. : CAG 05H
SARADHA COURSE GUIDE – PROGRAMMING WITH
REV. NO.: R0 DATE: 23/07/2020
GANGADHARAN VISUAL BASIC
COPY :
COLLEGE
DOCUMENT TITLE PAGE 1 OF 70
UNIT I: Introduction to .NET
Framework & VB.Net Features Edition : 1
.NET Framework
A framework can be a small collection of classes or it can be a massive collection of libraries and
technologies composed of thousands of reusable classes that present software designs, and millions of
lines of code that can be recycled for various application domains, organized in namespaces and
packaged in assemblies.
.NET is a Framework.
A collection of technologies for building applications for Windows, Linux, MacOS, iOS,
Android and more.
It is a software development framework made up of tools, Programming Languages and
Libraries for building and running highly distributed component based applications on windows.
Microsoft uses Visual Studio to Create , Debug and Deploy all .NET applications like
Console application
Windows application
Web Applications and
Web Services.
NET Framework manages all aspects of program like ;
Allocation of memory.
Reallocation of memory resources that are not used.
Managing execution of the application.
.NET Framework is designed for cross-language compatibility.
Architecture of .NET Framework
Visual
Studio
Op
era
tin
g
/tmp/unoconv_3213931846.doc
Components of Framework Sy
ste
ms
PREPARED/REVISED BY : F. Jeno Sandana Brina Rouvier REVIEWED & APPROVED BY : D. Saraswathi
DESIGNATION : Asst. Prof. – B.C.A DESIGNATION : Asst. Prof – M.Sc(CS)
DATE : 21/07/2020 DATE : 23/07/2020
, MANUAL TITLE
DOCUMENT NO. : CAG 05H
SARADHA COURSE GUIDE – PROGRAMMING WITH
REV. NO.: R0 DATE: 23/07/2020
GANGADHARAN VISUAL BASIC
COPY :
COLLEGE
DOCUMENT TITLE PAGE 2 OF 70
UNIT I: Introduction to .NET
Framework & VB.Net Features Edition : 1
The two major components of .NET Framework are the Common Language Runtime (CLR) and
the .NET Framework Class Library (FCL).
1. Common Language Runtime (CLR)
It is the heart of .NET Framework.
Execution environment for code written in .NET Framework - is the execution engine
that handles running applications.
Compilation and Execution
CLR Execution Model – Compilation of .Net code
.NET applications are written in the C#, J#, or Visual Basic programming language. Code is
compiled by the individual language compiler into an intermediate format called Intermediate
/tmp/unoconv_3213931846.doc
Language (IL) or Microsoft Intermediate Language (MSIL).
PREPARED/REVISED BY : F. Jeno Sandana Brina Rouvier REVIEWED & APPROVED BY : D. Saraswathi
DESIGNATION : Asst. Prof. – B.C.A DESIGNATION : Asst. Prof – M.Sc(CS)
DATE : 21/07/2020 DATE : 23/07/2020
, MANUAL TITLE
DOCUMENT NO. : CAG 05H
SARADHA COURSE GUIDE – PROGRAMMING WITH
REV. NO.: R0 DATE: 23/07/2020
GANGADHARAN VISUAL BASIC
COPY :
COLLEGE
DOCUMENT TITLE PAGE 3 OF 70
UNIT I: Introduction to .NET
Framework & VB.Net Features Edition : 1
Compiled code is stored in assemblies—files with a .dll or .exe file extension.
A process known as just-in-time (JIT compiler) compilation converts compiled code into
machine instructions or native code or Managed Code.
CLR implements theVirtual Execution System(VES) as defined in the Common Language
Infrastructure(CLI) standard.
Unmanaged code does not execute under the Common Language Runtime.
Thus, all Windows programs prior to the creation of the .NET Framework use unmanaged code.
CLR Features/Services/Benefits
Memory allocation
Conversion of MSIL to native code
Garbage collection (which helps avoid memory leaks),
Code verification
Code access security
Extensible types provided by a class library.
Language features such as inheritance, interfaces, and overloading for object-oriented
programming.
Exception handling
Thread management, enforcing type-safety, and many other tasks.
Common Type System
In Microsoft's.NET Framework, the Common Type System (CTS) is a standard that
specifies how type definitions and specific values of types are represented in computer
memory.
It is intended to allow programs written in different programming languages to easily share
information.
As used in programming languages, a type can be described as a definition of a set of values,
and the allowable operations on those values.
In .NET Framework, System.Object is the common base type from where all the other types
are derived.
The Common Type System performs the following functions:
Automatic integration of multiple languages,
Type safety
High performance code execution.
Provides an object-oriented model.
Standardizes the conventions that all the languages must follow.
/tmp/unoconv_3213931846.doc
A superset of the data types used by most modern programming languages.
PREPARED/REVISED BY : F. Jeno Sandana Brina Rouvier REVIEWED & APPROVED BY : D. Saraswathi
DESIGNATION : Asst. Prof. – B.C.A DESIGNATION : Asst. Prof – M.Sc(CS)
DATE : 21/07/2020 DATE : 23/07/2020