SlideShare a Scribd company logo
© Prognoz Technologies Pvt. Ltd
Introduction to Framework
© Prognoz Technologies Pvt. Ltd
Topic Covered:
 What is the .NET Framework?
 Identify the components of the .NET Framework
 Advantages of .NET Framework
Objectives
© Prognoz Technologies Pvt. Ltd
What is the .NET Framework?
What is the .NET
Framework?
© Prognoz Technologies Pvt. Ltd
Microsoft introduced the .NET Framework to make applications more
interoperable.
 Interoperability of applications means the ability of applications, developed in different
languages, to be able to work together and exchange information with each other.
The objective of .NET framework is to bring various programming languages and
services together.
.NET Framework
© Prognoz Technologies Pvt. Ltd
The .NET Framework is designed to make significant improvements in:
Code reusability
Code specialization
Resource management
Multi-language development
Application security
Application deployment
Application administration
.NET Framework (Contd.)
© Prognoz Technologies Pvt. Ltd
The. NET Framework consists of all the technologies that help in creating
and running applications that are:
Robust: Applications those are strong.
Scalable: Applications that can be extended.
Distributed: Applications that runs on computers of different networks.
The .NET offers a complete suite for developing and deploying applications.
This suite consists of:
.NET Products
.NET Services
.NET Framework
.NET Framework (Contd.)
© Prognoz Technologies Pvt. Ltd
The .Net framework is a revolutionary platform that helps you to write the following
types of applications:
– Windows applications
– Web applications
– Web services
 The .Net framework applications are multi-platform applications.
 The framework has been designed in such a way that it can be used with any of the
following languages:
C#, C++, Visual Basic, Jscript, COBOL, etc.
 All these languages can access the framework as well as communicate with each
other.
.NET Framework (Contd.)
© Prognoz Technologies Pvt. Ltd
What are the components of the
.NET Framework?
What are the components
of the .NET Framework?
© Prognoz Technologies Pvt. Ltd
The .NET Framework consists of the following components:
1. Common Language Runtime (CLR)
2. The .Net Framework Class Library
3. Common Language Specification
4. Common Type System
5. Metadata and Assemblies
6. Windows Forms
7. Asp.Net and Asp.Net AJAX
8. ADO.NET
9. Windows Workflow Foundation (WF)
10.Windows Presentation Foundation
11.Windows Communication Foundation (WCF)
12.LINQ
Components of the .NET
Framework
© Prognoz Technologies Pvt. Ltd
Common Language Runtime (CLR):
Is the environment where all programs using .NET technologies are executed.
Provides services such as code compilation, memory allocation, and garbage
collection.
Allows the execution of code across different platforms by translating code into
Intermediate Language (IL).
IL is a low level language that the CLR understands.
IL is converted into machine language during execution by the Just-In-Time
compiler.
During JIT compilation, code is also checked for type safety.
Components of the .NET
Framework (Contd.)
© Prognoz Technologies Pvt. Ltd
Components of the .NET
Framework (Contd.)
Common Language Runtime
Just-In-Time Compiler
Low level
language is
converted
into machine
language
by the
Just-In-Time
compiler
© Prognoz Technologies Pvt. Ltd
CLR consists of a set of common rules followed by all the languages of the
.NET Framework. This set of rules is known as Common Language
Specification (CLS).
CLS enables an object or application to interact with the objects or
applications of other languages.
One of the specifications defined in CLS is Common Type System (CTS),
which provides a type system that is common across all languages.
CTS defines how data types are declared, used, and managed in the code
at run time.
Components of the .NET
Framework (Contd.)
© Prognoz Technologies Pvt. Ltd
Components of the .NET
Framework (Contd.)
Common Language Runtime
Just-In-Time Compiler
Common Language Specification
CLS
enables an
object or
application
to interact
with the
objects or
applications
of other
languages.
Common Type
System
© Prognoz Technologies Pvt. Ltd
Components of the .NET
Framework (Contd.)
Common Language Runtime
Just-In-Time Compiler
Common Language Specification CTS defines
how data
types are
declared,
used, and
managed in
the code at
run time.
Common Type
System
© Prognoz Technologies Pvt. Ltd
Compilation is the process of creating an executable program from a source code.
When you compile a program in .NET, the conversion of source code to machine
language happens in two stages.
In the first stage, the compiler translates code into an IL instead of machine
language or assembly language.
In the second stage the conversion of IL to machine language is done at run time by
the JIT compiler.
Components of the .NET
Framework (Contd.)
© Prognoz Technologies Pvt. Ltd
The following figure shows the process of code compilation.
Components of the .NET
Framework (Contd.)
Program Code
Compiler
IL Metadata+
Assembly
© Prognoz Technologies Pvt. Ltd
During execution, CLR performs the following tasks:
Loading assemblies and identifying namespaces
JIT compilation
Garbage collection
The code developed in .NET is called managed code.
The CLR manages the compilation and execution of the managed code to
ensure proper functioning of the code.
An assembly contains IL and metadata that was generated during
compilation.
Instead of compiling the complete IL code, the JIT compiler compiles only
the code that is required during execution.
Components of the .NET
Framework (Contd.)
© Prognoz Technologies Pvt. Ltd
Components of the .NET
Framework (Contd.)
The .NET Framework Class Library:
Works with any .NET language, such as VB.NET, VC++ .NET, and VC#.
Provides classes that can be used in the code to accomplish a range of common
programming tasks, such as string management, data collection, database
connectivity, and file access.
Comprises namespaces, which are contained within assemblies.
© Prognoz Technologies Pvt. Ltd
Components of the .NET
Framework (Contd.)
Assembly
.NET Framework Class Library
Namespaces help
you to create
logical groups of
related classes
and interfaces,
which can be used
by any language
targeting the .NET
Framework and
are stored in
assemblies.
Namespaces
© Prognoz Technologies Pvt. Ltd
Components of the .NET
Framework (Contd.)
Assembly
.NET Framework Class Library
An assembly is a
single deployable
unit that contains
all the information
about the
implementation of
classes,
structures, and
interfaces.
© Prognoz Technologies Pvt. Ltd
User and Program Interfaces: At the presentation layer, .NET provides three
types of user interfaces, which are:
Windows Forms
Web Forms
Console Applications
The .NET provides a program interface called, Web Services, to
communicate with remote components.
Components of the .NET
Framework (Contd.)
© Prognoz Technologies Pvt. Ltd
Components of the .NET
Framework (Contd.)
Windows
Forms
User and Program Interfaces
These are used in
Windows-based
applications.
Web Forms
Console
Applications
© Prognoz Technologies Pvt. Ltd
Components of the .NET
Framework (Contd.)
Windows
Forms
User and Program Interfaces
These are used in
Web-based
applications for
providing an
interactive user
interface.
Web Forms
Console
Applications
© Prognoz Technologies Pvt. Ltd
Components of the .NET
Framework (Contd.)
Windows
Forms
User and Program Interfaces
These are used to
create
character-based
console
applications that
can be executed
from the command
line.
Web Forms
Console
Applications
© Prognoz Technologies Pvt. Ltd
Some advantages offered by the .NET Framework are:
Consistent programming model
Multi-platform applications
Multi-language integration
Automatic resource management
Ease of deployment
Advantages of .NET Framework
© Prognoz Technologies Pvt. Ltd
Thank You!!

More Related Content

PPT
Architecture of .net framework
Then Murugeshwari
 
PPT
.Net overview|Introduction Of .net
pinky singh
 
PDF
Model View Controller (MVC)
Javier Antonio Humarán Peñuñuri
 
PPTX
Introduction to vb.net
Jaya Kumari
 
PDF
Alphorm.com Formation Exchange 2016, Configuration Avancée
Alphorm
 
PPTX
What is dotnet (.NET) ?
Talha Shahzad
 
PPT
Mvc architecture
Surbhi Panhalkar
 
Architecture of .net framework
Then Murugeshwari
 
.Net overview|Introduction Of .net
pinky singh
 
Model View Controller (MVC)
Javier Antonio Humarán Peñuñuri
 
Introduction to vb.net
Jaya Kumari
 
Alphorm.com Formation Exchange 2016, Configuration Avancée
Alphorm
 
What is dotnet (.NET) ?
Talha Shahzad
 
Mvc architecture
Surbhi Panhalkar
 

What's hot (20)

PDF
Lancement Harvester
SUSE
 
PPTX
Dotnet Frameworks Version History
voltaincx
 
PPTX
Rhel6 vs rhel7
Ratna Likhita
 
PPTX
Servlets
Geethu Mohan
 
PDF
MariaDB une base de donnees NewSQL
Christophe Villeneuve
 
PPT
Java Servlets
BG Java EE Course
 
PDF
Windows Server 2019 -InspireTech 2019
Diana Carolina Torres Viasus
 
PPTX
Linux
Sunoj Kashyap
 
PPTX
Introduction to mvc architecture
ravindraquicsolv
 
PPTX
Windows form application - C# Training
Moutasm Tamimi
 
PPTX
Asp.net and .Net Framework ppt presentation
abhishek singh
 
PPTX
Linux opearting system ppt
OECLIB Odisha Electronics Control Library
 
PPTX
Introduction to ASP.NET
Rajkumarsoy
 
PPTX
負荷軽減!整合性もバッチリ!Veeamのストレージ連携セミナー!!
株式会社クライム
 
PPTX
Server virtualization
Kingston Smiler
 
PPTX
Red hat ppt
PratikshaMane8
 
PPTX
Horizon view technical deep dive
Murugesan Arumugam
 
PPT
Java beans
sptatslide
 
Lancement Harvester
SUSE
 
Dotnet Frameworks Version History
voltaincx
 
Rhel6 vs rhel7
Ratna Likhita
 
Servlets
Geethu Mohan
 
MariaDB une base de donnees NewSQL
Christophe Villeneuve
 
Java Servlets
BG Java EE Course
 
Windows Server 2019 -InspireTech 2019
Diana Carolina Torres Viasus
 
Introduction to mvc architecture
ravindraquicsolv
 
Windows form application - C# Training
Moutasm Tamimi
 
Asp.net and .Net Framework ppt presentation
abhishek singh
 
Linux opearting system ppt
OECLIB Odisha Electronics Control Library
 
Introduction to ASP.NET
Rajkumarsoy
 
負荷軽減!整合性もバッチリ!Veeamのストレージ連携セミナー!!
株式会社クライム
 
Server virtualization
Kingston Smiler
 
Red hat ppt
PratikshaMane8
 
Horizon view technical deep dive
Murugesan Arumugam
 
Java beans
sptatslide
 
Ad

Viewers also liked (20)

PPSX
A comprehensive software infrastructure of .Net
Prognoz Technologies Pvt. Ltd.
 
PPTX
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
Antonio Chagoury
 
PPT
.Net framework
Om Vikram Thapa
 
PPT
.net framework
Ram Sagar Mourya
 
PPTX
Introduction to .net FrameWork by QuontraSolutions
Quontra Solutions
 
PPTX
Introduction to .NET Framework
Małgorzata Borzęcka
 
PPTX
Using MongoDB with the .Net Framework
Stefano Paluello
 
PPTX
Find out Which Versions of the .NET Framework are Installed on a PC.
raj upadhyay
 
KEY
Using The .NET Framework
LearnNowOnline
 
PPT
Inside .net framework
Faisal Aziz
 
PPTX
.Net framework
Gracia Marcom
 
PPTX
.net framework from 1.0 -> 4.0
ligaoren
 
PPSX
Microsoft C# programming basics
Prognoz Technologies Pvt. Ltd.
 
PPTX
Overview of .Net Framework 4.5
Bhushan Mulmule
 
PPTX
Introduction to .NET Programming
Karthikeyan Mkr
 
PPT
Migrating To Visual Studio 2008 & .Net Framework 3.5
Jeff Blankenburg
 
PDF
Dotnet basics
Mir Majid
 
PPT
Introduction to .NET Framework
Raghuveer Guthikonda
 
PPTX
Visual Studio 2010 and .NET Framework 4.0 Overview
Harish Ranganathan
 
PPT
.NET Framework Overview
Doncho Minkov
 
A comprehensive software infrastructure of .Net
Prognoz Technologies Pvt. Ltd.
 
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
Antonio Chagoury
 
.Net framework
Om Vikram Thapa
 
.net framework
Ram Sagar Mourya
 
Introduction to .net FrameWork by QuontraSolutions
Quontra Solutions
 
Introduction to .NET Framework
Małgorzata Borzęcka
 
Using MongoDB with the .Net Framework
Stefano Paluello
 
Find out Which Versions of the .NET Framework are Installed on a PC.
raj upadhyay
 
Using The .NET Framework
LearnNowOnline
 
Inside .net framework
Faisal Aziz
 
.Net framework
Gracia Marcom
 
.net framework from 1.0 -> 4.0
ligaoren
 
Microsoft C# programming basics
Prognoz Technologies Pvt. Ltd.
 
Overview of .Net Framework 4.5
Bhushan Mulmule
 
Introduction to .NET Programming
Karthikeyan Mkr
 
Migrating To Visual Studio 2008 & .Net Framework 3.5
Jeff Blankenburg
 
Dotnet basics
Mir Majid
 
Introduction to .NET Framework
Raghuveer Guthikonda
 
Visual Studio 2010 and .NET Framework 4.0 Overview
Harish Ranganathan
 
.NET Framework Overview
Doncho Minkov
 
Ad

Similar to Introduction of .net framework (20)

PPTX
Introduction to .net
Jaya Kumari
 
PPTX
c#.pptx
GokulPadmakumar3
 
PPT
Microsoft.Net
Vishwa Mohan
 
PDF
.NET TECHNOLOGIES
Prof Ansari
 
PPTX
.Net framework
Yogendra Tamang
 
PPTX
.Net framework
EzraKemboi1
 
PDF
.Net
Vignesh k
 
PPTX
Dot Net PPt.pptx
PriyaMaurya52
 
PPTX
Vb ch 2-introduction_to_.net
bantamlak dejene
 
PPTX
Session2 (3)
DrUjwala1
 
PPT
Introdot Netc Sharp En
Gregory Renard
 
PPTX
introduction to .net
bantamlak dejene
 
PPT
.Net Overview -- Training (Lesson 1)
Rishi Kothari
 
PDF
1..Net Framework Architecture-(c#)
Shoaib Ghachi
 
PPTX
Chapter1_Part1.pptx
RaajzKoirala
 
PDF
Net framework
ANAGHA T SASIDHARAN
 
PPT
.Net Introduction
Muzzammil Wani
 
PDF
Chapter1
guest9ccd0e
 
PPT
.NET Overview
Greg Sohl
 
PDF
Unit I- Introduction to .NET Framework.pdf
Ujwala Junghare
 
Introduction to .net
Jaya Kumari
 
Microsoft.Net
Vishwa Mohan
 
.NET TECHNOLOGIES
Prof Ansari
 
.Net framework
Yogendra Tamang
 
.Net framework
EzraKemboi1
 
.Net
Vignesh k
 
Dot Net PPt.pptx
PriyaMaurya52
 
Vb ch 2-introduction_to_.net
bantamlak dejene
 
Session2 (3)
DrUjwala1
 
Introdot Netc Sharp En
Gregory Renard
 
introduction to .net
bantamlak dejene
 
.Net Overview -- Training (Lesson 1)
Rishi Kothari
 
1..Net Framework Architecture-(c#)
Shoaib Ghachi
 
Chapter1_Part1.pptx
RaajzKoirala
 
Net framework
ANAGHA T SASIDHARAN
 
.Net Introduction
Muzzammil Wani
 
Chapter1
guest9ccd0e
 
.NET Overview
Greg Sohl
 
Unit I- Introduction to .NET Framework.pdf
Ujwala Junghare
 

More from Prognoz Technologies Pvt. Ltd. (8)

PPTX
Introduction to package in java
Prognoz Technologies Pvt. Ltd.
 
PPSX
How to handle exceptions in Java Technology
Prognoz Technologies Pvt. Ltd.
 
PPSX
Features of java technology
Prognoz Technologies Pvt. Ltd.
 
PPTX
Basic concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
PPTX
Interesting Concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
PPSX
Qualities of a Successful Person
Prognoz Technologies Pvt. Ltd.
 
PPSX
Concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
PDF
Quantitative Aptitude Concepts
Prognoz Technologies Pvt. Ltd.
 
Introduction to package in java
Prognoz Technologies Pvt. Ltd.
 
How to handle exceptions in Java Technology
Prognoz Technologies Pvt. Ltd.
 
Features of java technology
Prognoz Technologies Pvt. Ltd.
 
Basic concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
Interesting Concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
Qualities of a Successful Person
Prognoz Technologies Pvt. Ltd.
 
Concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
Quantitative Aptitude Concepts
Prognoz Technologies Pvt. Ltd.
 

Recently uploaded (20)

PDF
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
PPTX
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
PPTX
ACUTE NASOPHARYNGITIS. pptx
AneetaSharma15
 
DOCX
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
PPTX
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
PPTX
Congenital Hypothyroidism pptx
AneetaSharma15
 
PDF
High Ground Student Revision Booklet Preview
jpinnuck
 
PPTX
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PPTX
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
PDF
Sunset Boulevard Student Revision Booklet
jpinnuck
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PPTX
Strengthening open access through collaboration: building connections with OP...
Jisc
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PDF
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
PPTX
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
ACUTE NASOPHARYNGITIS. pptx
AneetaSharma15
 
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
Congenital Hypothyroidism pptx
AneetaSharma15
 
High Ground Student Revision Booklet Preview
jpinnuck
 
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
Sunset Boulevard Student Revision Booklet
jpinnuck
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
Strengthening open access through collaboration: building connections with OP...
Jisc
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 

Introduction of .net framework

  • 1. © Prognoz Technologies Pvt. Ltd Introduction to Framework
  • 2. © Prognoz Technologies Pvt. Ltd Topic Covered:  What is the .NET Framework?  Identify the components of the .NET Framework  Advantages of .NET Framework Objectives
  • 3. © Prognoz Technologies Pvt. Ltd What is the .NET Framework? What is the .NET Framework?
  • 4. © Prognoz Technologies Pvt. Ltd Microsoft introduced the .NET Framework to make applications more interoperable.  Interoperability of applications means the ability of applications, developed in different languages, to be able to work together and exchange information with each other. The objective of .NET framework is to bring various programming languages and services together. .NET Framework
  • 5. © Prognoz Technologies Pvt. Ltd The .NET Framework is designed to make significant improvements in: Code reusability Code specialization Resource management Multi-language development Application security Application deployment Application administration .NET Framework (Contd.)
  • 6. © Prognoz Technologies Pvt. Ltd The. NET Framework consists of all the technologies that help in creating and running applications that are: Robust: Applications those are strong. Scalable: Applications that can be extended. Distributed: Applications that runs on computers of different networks. The .NET offers a complete suite for developing and deploying applications. This suite consists of: .NET Products .NET Services .NET Framework .NET Framework (Contd.)
  • 7. © Prognoz Technologies Pvt. Ltd The .Net framework is a revolutionary platform that helps you to write the following types of applications: – Windows applications – Web applications – Web services  The .Net framework applications are multi-platform applications.  The framework has been designed in such a way that it can be used with any of the following languages: C#, C++, Visual Basic, Jscript, COBOL, etc.  All these languages can access the framework as well as communicate with each other. .NET Framework (Contd.)
  • 8. © Prognoz Technologies Pvt. Ltd What are the components of the .NET Framework? What are the components of the .NET Framework?
  • 9. © Prognoz Technologies Pvt. Ltd The .NET Framework consists of the following components: 1. Common Language Runtime (CLR) 2. The .Net Framework Class Library 3. Common Language Specification 4. Common Type System 5. Metadata and Assemblies 6. Windows Forms 7. Asp.Net and Asp.Net AJAX 8. ADO.NET 9. Windows Workflow Foundation (WF) 10.Windows Presentation Foundation 11.Windows Communication Foundation (WCF) 12.LINQ Components of the .NET Framework
  • 10. © Prognoz Technologies Pvt. Ltd Common Language Runtime (CLR): Is the environment where all programs using .NET technologies are executed. Provides services such as code compilation, memory allocation, and garbage collection. Allows the execution of code across different platforms by translating code into Intermediate Language (IL). IL is a low level language that the CLR understands. IL is converted into machine language during execution by the Just-In-Time compiler. During JIT compilation, code is also checked for type safety. Components of the .NET Framework (Contd.)
  • 11. © Prognoz Technologies Pvt. Ltd Components of the .NET Framework (Contd.) Common Language Runtime Just-In-Time Compiler Low level language is converted into machine language by the Just-In-Time compiler
  • 12. © Prognoz Technologies Pvt. Ltd CLR consists of a set of common rules followed by all the languages of the .NET Framework. This set of rules is known as Common Language Specification (CLS). CLS enables an object or application to interact with the objects or applications of other languages. One of the specifications defined in CLS is Common Type System (CTS), which provides a type system that is common across all languages. CTS defines how data types are declared, used, and managed in the code at run time. Components of the .NET Framework (Contd.)
  • 13. © Prognoz Technologies Pvt. Ltd Components of the .NET Framework (Contd.) Common Language Runtime Just-In-Time Compiler Common Language Specification CLS enables an object or application to interact with the objects or applications of other languages. Common Type System
  • 14. © Prognoz Technologies Pvt. Ltd Components of the .NET Framework (Contd.) Common Language Runtime Just-In-Time Compiler Common Language Specification CTS defines how data types are declared, used, and managed in the code at run time. Common Type System
  • 15. © Prognoz Technologies Pvt. Ltd Compilation is the process of creating an executable program from a source code. When you compile a program in .NET, the conversion of source code to machine language happens in two stages. In the first stage, the compiler translates code into an IL instead of machine language or assembly language. In the second stage the conversion of IL to machine language is done at run time by the JIT compiler. Components of the .NET Framework (Contd.)
  • 16. © Prognoz Technologies Pvt. Ltd The following figure shows the process of code compilation. Components of the .NET Framework (Contd.) Program Code Compiler IL Metadata+ Assembly
  • 17. © Prognoz Technologies Pvt. Ltd During execution, CLR performs the following tasks: Loading assemblies and identifying namespaces JIT compilation Garbage collection The code developed in .NET is called managed code. The CLR manages the compilation and execution of the managed code to ensure proper functioning of the code. An assembly contains IL and metadata that was generated during compilation. Instead of compiling the complete IL code, the JIT compiler compiles only the code that is required during execution. Components of the .NET Framework (Contd.)
  • 18. © Prognoz Technologies Pvt. Ltd Components of the .NET Framework (Contd.) The .NET Framework Class Library: Works with any .NET language, such as VB.NET, VC++ .NET, and VC#. Provides classes that can be used in the code to accomplish a range of common programming tasks, such as string management, data collection, database connectivity, and file access. Comprises namespaces, which are contained within assemblies.
  • 19. © Prognoz Technologies Pvt. Ltd Components of the .NET Framework (Contd.) Assembly .NET Framework Class Library Namespaces help you to create logical groups of related classes and interfaces, which can be used by any language targeting the .NET Framework and are stored in assemblies. Namespaces
  • 20. © Prognoz Technologies Pvt. Ltd Components of the .NET Framework (Contd.) Assembly .NET Framework Class Library An assembly is a single deployable unit that contains all the information about the implementation of classes, structures, and interfaces.
  • 21. © Prognoz Technologies Pvt. Ltd User and Program Interfaces: At the presentation layer, .NET provides three types of user interfaces, which are: Windows Forms Web Forms Console Applications The .NET provides a program interface called, Web Services, to communicate with remote components. Components of the .NET Framework (Contd.)
  • 22. © Prognoz Technologies Pvt. Ltd Components of the .NET Framework (Contd.) Windows Forms User and Program Interfaces These are used in Windows-based applications. Web Forms Console Applications
  • 23. © Prognoz Technologies Pvt. Ltd Components of the .NET Framework (Contd.) Windows Forms User and Program Interfaces These are used in Web-based applications for providing an interactive user interface. Web Forms Console Applications
  • 24. © Prognoz Technologies Pvt. Ltd Components of the .NET Framework (Contd.) Windows Forms User and Program Interfaces These are used to create character-based console applications that can be executed from the command line. Web Forms Console Applications
  • 25. © Prognoz Technologies Pvt. Ltd Some advantages offered by the .NET Framework are: Consistent programming model Multi-platform applications Multi-language integration Automatic resource management Ease of deployment Advantages of .NET Framework
  • 26. © Prognoz Technologies Pvt. Ltd Thank You!!