SlideShare a Scribd company logo
.NET Framework
Yogendra Tamang
30 July, 2017
Outline
• Introduction and Background
• Compilation
• CLS and CTS
• CLR
• Base Class Libraries
.Net framework
.NET Framework
• It is framework for building software systems.
• .Net Framework provides Runtime Environment and Comprehensive
Base Class libraries(BCL).
• The run time layer is called Common Language Runtime(CLR).
Key Features
1. Multi-language Support:
Various languages(C#, F#, Visual Basic etc.) can be used to create .NET
Application
2. Single runtime engine:
Various languages follow fixed standard and they all run on single engine.
3. Comprehensive Base Class Libraries:
.Net Framework has predefined set of libraries through which you can build
code libraries, console(terminal) applications, graphical desktop applications,
web applications etc.
Key Features (Contd..)
1. Language Integration
There is cross language inheritance (You can write class in C# and extend it on
Visual Basic), cross language debugging and cross language exception handling.
2. Simple Deployment
3. Interoperability with existing code
.NET Framwork is backward-compatible and even can comingle with
COM(Component Object Model) based Softwares.
Compilation
• Two Phase Compilation
First Phase: CIL Generation from .NET Aware Compilers
Last Phase: Machine Code from JIT Compiler.
Figure 1 : First Phase Compilation
CIL
Jitter
Machine code
Figure 2 : Second Phase Compilation
Compilation
• Code Written in .NET Aware Language(C#, VB etc.) are compiled by
.NET Aware Compiler(C Sharp Compiler, Visual Basic Compiler etc.)
and .Net Binary blob is created.
• .Net binary blob is also termed as Assembly and it contains Common
Immediate Language(CIL)* and Metadata.
• JIT** compilers compile CIL codes to platform specific instructions.
• In this way compilation of .Net Code is done
* CIL is also termed as MicroSoft Intermediate Language(MSIL) or just Intermediate
Language (IL).
**Just In Time (JIT) or Jitters compiles IL into Machine code on the fly.
Common Language System(CLS)
• CLS says how computer programs can be turned to CIL.
• It is agreement among language designers and class library designers
to use common subset of basic feature that all languages have to
follow.
• Multi Language Support is possible due to CLS.
Common Type System (CTS)
• Types are Classes, Delegates, Enumeration, Structures and Interface
• CTS is formal specification that documents how types are declared,
used and managed.
• CTS provides Object Oriented Model and it also provides a library
primitive data type.
• It helps to enable cross language integration, type safety and high
performance code execution.
Common Language Runtime
• It’s a collection of services that are required to execute a given
compiled unit of code.
• It is responsible for resolving location of assembly and finding the
requested type within binary by reading contained metadata
• It loads custom assemblies, creates custom types, interacts with types
contained in .NET Base Class Libraries

More Related Content

PPTX
.net CLR
PPTX
c# usage,applications and advantages
PPT
Introduction to ,NET Framework
PPT
Windows Kernel-
PDF
Trusted firmware deep_dive_v1.0_
PPT
Visula C# Programming Lecture 1
PDF
Introduction to GPU Programming
PPT
.net CLR
c# usage,applications and advantages
Introduction to ,NET Framework
Windows Kernel-
Trusted firmware deep_dive_v1.0_
Visula C# Programming Lecture 1
Introduction to GPU Programming

What's hot (20)

PPT
30326851 -operating-system-unit-1-ppt
PDF
Building Embedded Linux Full Tutorial for ARM
PDF
Android ipm 20110409
PDF
Practical Malware Analysis: Ch 10: Kernel Debugging with WinDbg
PDF
BigTable And Hbase
PPTX
6.distributed shared memory
PPTX
C# language
PPT
Bash shell
PDF
Thread
PPTX
Java Programming Environment,JDK,JRE,JVM.pptx
PDF
PDF
Software Architecture and Design Introduction
PDF
Android Binder IPC for Linux
PDF
Course 102: Lecture 26: FileSystems in Linux (Part 1)
PPT
parallel programming models
PPTX
Java bean
PPTX
MemVerge: The Software Stack for CXL Environments
PPT
Mobile Application Development MAD J2ME UNIT 2
PPTX
5.2.2. Memory Consistency Models.pptx
30326851 -operating-system-unit-1-ppt
Building Embedded Linux Full Tutorial for ARM
Android ipm 20110409
Practical Malware Analysis: Ch 10: Kernel Debugging with WinDbg
BigTable And Hbase
6.distributed shared memory
C# language
Bash shell
Thread
Java Programming Environment,JDK,JRE,JVM.pptx
Software Architecture and Design Introduction
Android Binder IPC for Linux
Course 102: Lecture 26: FileSystems in Linux (Part 1)
parallel programming models
Java bean
MemVerge: The Software Stack for CXL Environments
Mobile Application Development MAD J2ME UNIT 2
5.2.2. Memory Consistency Models.pptx
Ad

Similar to .Net framework (20)

PPTX
election survey comapny in delhi|election survey company|election survey comp...
PPTX
dotnet.pptx idurne jdie ek ieiebve ieneieie d
PPT
.Net overview|Introduction Of .net
PPTX
.NET Framework
PPTX
Common language runtime clr
PPTX
.Net Framwork Architecture And components
PPTX
Chapter1_Part1.pptx
PPTX
PDF
PPT
PDF
random-140312045902-phpapp01.pdf
PPTX
Session2 (3)
PPTX
Components of .NET Framework
PPT
Inside .net framework
PPTX
Features Of .NET Framework
PDF
Inside.Net
DOCX
Chapter 1 introduction to .net
PPTX
Introduction to .net FrameWork by QuontraSolutions
DOCX
.Net framework components by naveen kumar veligeti
PPTX
DOT NET Framework.pptxdsfdsfdsfsdfdsfdsfdsf
election survey comapny in delhi|election survey company|election survey comp...
dotnet.pptx idurne jdie ek ieiebve ieneieie d
.Net overview|Introduction Of .net
.NET Framework
Common language runtime clr
.Net Framwork Architecture And components
Chapter1_Part1.pptx
random-140312045902-phpapp01.pdf
Session2 (3)
Components of .NET Framework
Inside .net framework
Features Of .NET Framework
Inside.Net
Chapter 1 introduction to .net
Introduction to .net FrameWork by QuontraSolutions
.Net framework components by naveen kumar veligeti
DOT NET Framework.pptxdsfdsfdsfsdfdsfdsfdsf
Ad

More from Yogendra Tamang (20)

PPTX
Asp.net orientation
PPTX
Azure machine learning tech mela
PPTX
Machine learning and azure ml studio gabc
PPTX
Machine learning and azure ml studio
PPTX
Image classification with Deep Neural Networks
PPTX
Efficient Neural Network Architecture for Image Classfication
PPTX
ADO.NET Introduction
PPTX
Introduction and Starting ASP.NET MVC
PPTX
Electronics projects
PPTX
Infromation Reprentation, Structured Data and Semantics
PPTX
Task programming
PPTX
Arduino Workshop Day 2
PPTX
Arduino Day 1 Presentation
PPTX
Virtualization lab
PDF
Path finder
PPTX
Classification and Clustering
PPTX
Notation 3(n3)
PPTX
Cloud mobility final
PPTX
Natural language processing
PPTX
IP/Wi-Fi Based Robot
Asp.net orientation
Azure machine learning tech mela
Machine learning and azure ml studio gabc
Machine learning and azure ml studio
Image classification with Deep Neural Networks
Efficient Neural Network Architecture for Image Classfication
ADO.NET Introduction
Introduction and Starting ASP.NET MVC
Electronics projects
Infromation Reprentation, Structured Data and Semantics
Task programming
Arduino Workshop Day 2
Arduino Day 1 Presentation
Virtualization lab
Path finder
Classification and Clustering
Notation 3(n3)
Cloud mobility final
Natural language processing
IP/Wi-Fi Based Robot

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
GDM (1) (1).pptx small presentation for students
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
01-Introduction-to-Information-Management.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Classroom Observation Tools for Teachers
PDF
RMMM.pdf make it easy to upload and study
PPTX
master seminar digital applications in india
PPTX
Institutional Correction lecture only . . .
O5-L3 Freight Transport Ops (International) V1.pdf
Sports Quiz easy sports quiz sports quiz
Pharmacology of Heart Failure /Pharmacotherapy of CHF
STATICS OF THE RIGID BODIES Hibbelers.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Supply Chain Operations Speaking Notes -ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
GDM (1) (1).pptx small presentation for students
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Complications of Minimal Access Surgery at WLH
human mycosis Human fungal infections are called human mycosis..pptx
VCE English Exam - Section C Student Revision Booklet
102 student loan defaulters named and shamed – Is someone you know on the list?
Renaissance Architecture: A Journey from Faith to Humanism
01-Introduction-to-Information-Management.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Classroom Observation Tools for Teachers
RMMM.pdf make it easy to upload and study
master seminar digital applications in india
Institutional Correction lecture only . . .

.Net framework

  • 2. Outline • Introduction and Background • Compilation • CLS and CTS • CLR • Base Class Libraries
  • 4. .NET Framework • It is framework for building software systems. • .Net Framework provides Runtime Environment and Comprehensive Base Class libraries(BCL). • The run time layer is called Common Language Runtime(CLR).
  • 5. Key Features 1. Multi-language Support: Various languages(C#, F#, Visual Basic etc.) can be used to create .NET Application 2. Single runtime engine: Various languages follow fixed standard and they all run on single engine. 3. Comprehensive Base Class Libraries: .Net Framework has predefined set of libraries through which you can build code libraries, console(terminal) applications, graphical desktop applications, web applications etc.
  • 6. Key Features (Contd..) 1. Language Integration There is cross language inheritance (You can write class in C# and extend it on Visual Basic), cross language debugging and cross language exception handling. 2. Simple Deployment 3. Interoperability with existing code .NET Framwork is backward-compatible and even can comingle with COM(Component Object Model) based Softwares.
  • 7. Compilation • Two Phase Compilation First Phase: CIL Generation from .NET Aware Compilers Last Phase: Machine Code from JIT Compiler. Figure 1 : First Phase Compilation CIL Jitter Machine code Figure 2 : Second Phase Compilation
  • 8. Compilation • Code Written in .NET Aware Language(C#, VB etc.) are compiled by .NET Aware Compiler(C Sharp Compiler, Visual Basic Compiler etc.) and .Net Binary blob is created. • .Net binary blob is also termed as Assembly and it contains Common Immediate Language(CIL)* and Metadata. • JIT** compilers compile CIL codes to platform specific instructions. • In this way compilation of .Net Code is done * CIL is also termed as MicroSoft Intermediate Language(MSIL) or just Intermediate Language (IL). **Just In Time (JIT) or Jitters compiles IL into Machine code on the fly.
  • 9. Common Language System(CLS) • CLS says how computer programs can be turned to CIL. • It is agreement among language designers and class library designers to use common subset of basic feature that all languages have to follow. • Multi Language Support is possible due to CLS.
  • 10. Common Type System (CTS) • Types are Classes, Delegates, Enumeration, Structures and Interface • CTS is formal specification that documents how types are declared, used and managed. • CTS provides Object Oriented Model and it also provides a library primitive data type. • It helps to enable cross language integration, type safety and high performance code execution.
  • 11. Common Language Runtime • It’s a collection of services that are required to execute a given compiled unit of code. • It is responsible for resolving location of assembly and finding the requested type within binary by reading contained metadata • It loads custom assemblies, creates custom types, interacts with types contained in .NET Base Class Libraries