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
• 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

What's hot

Object-oriented Programming-with C#
Object-oriented Programming-with C#Object-oriented Programming-with C#
Object-oriented Programming-with C#
Doncho Minkov
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
Ashish Verma
 

What's hot (20)

C# programming language
C# programming languageC# programming language
C# programming language
 
DOT Net overview
DOT Net overviewDOT Net overview
DOT Net overview
 
.net CLR
.net CLR.net CLR
.net CLR
 
C# in depth
C# in depthC# in depth
C# in depth
 
VB.NET:An introduction to Namespaces in .NET framework
VB.NET:An introduction to  Namespaces in .NET frameworkVB.NET:An introduction to  Namespaces in .NET framework
VB.NET:An introduction to Namespaces in .NET framework
 
dot net technology
dot net technologydot net technology
dot net technology
 
C#ppt
C#pptC#ppt
C#ppt
 
C# language
C# languageC# language
C# language
 
Java Presentation For Syntax
Java Presentation For SyntaxJava Presentation For Syntax
Java Presentation For Syntax
 
Exception Handling in VB.Net
Exception Handling in VB.NetException Handling in VB.Net
Exception Handling in VB.Net
 
C# Tutorial
C# Tutorial C# Tutorial
C# Tutorial
 
C#.NET
C#.NETC#.NET
C#.NET
 
Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clr
 
Object-oriented Programming-with C#
Object-oriented Programming-with C#Object-oriented Programming-with C#
Object-oriented Programming-with C#
 
CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp Presentation
 
C# Exceptions Handling
C# Exceptions Handling C# Exceptions Handling
C# Exceptions Handling
 
C# Basics
C# BasicsC# Basics
C# Basics
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
Dot net assembly
Dot net assemblyDot net assembly
Dot net assembly
 
Handling I/O in Java
Handling I/O in JavaHandling I/O in Java
Handling I/O in Java
 

Similar to .Net framework

random-140312045902-phpapp01.pdf
random-140312045902-phpapp01.pdfrandom-140312045902-phpapp01.pdf
random-140312045902-phpapp01.pdf
PragunSinghal1
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
Faisal Aziz
 

Similar to .Net framework (20)

election survey comapny in delhi|election survey company|election survey comp...
election survey comapny in delhi|election survey company|election survey comp...election survey comapny in delhi|election survey company|election survey comp...
election survey comapny in delhi|election survey company|election survey comp...
 
.Net overview|Introduction Of .net
.Net overview|Introduction Of .net.Net overview|Introduction Of .net
.Net overview|Introduction Of .net
 
.NET Framework
.NET Framework.NET Framework
.NET Framework
 
.Net Framwork Architecture And components
.Net Framwork Architecture And components.Net Framwork Architecture And components
.Net Framwork Architecture And components
 
Chapter1_Part1.pptx
Chapter1_Part1.pptxChapter1_Part1.pptx
Chapter1_Part1.pptx
 
Dotnet1
Dotnet1Dotnet1
Dotnet1
 
Unit6
Unit6Unit6
Unit6
 
.Net
.Net.Net
.Net
 
random-140312045902-phpapp01.pdf
random-140312045902-phpapp01.pdfrandom-140312045902-phpapp01.pdf
random-140312045902-phpapp01.pdf
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
 
Components of .NET Framework
Components of .NET FrameworkComponents of .NET Framework
Components of .NET Framework
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
 
Features Of .NET Framework
Features Of .NET FrameworkFeatures Of .NET Framework
Features Of .NET Framework
 
Inside.Net
Inside.NetInside.Net
Inside.Net
 
Chapter 1 introduction to .net
Chapter 1 introduction to .netChapter 1 introduction to .net
Chapter 1 introduction to .net
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutions
 
.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti
 
.NET Core, ASP.NET Core Course, Session 3
.NET Core, ASP.NET Core Course, Session 3.NET Core, ASP.NET Core Course, Session 3
.NET Core, ASP.NET Core Course, Session 3
 
.Net Framework
.Net Framework.Net Framework
.Net Framework
 
DotNet Framework
DotNet FrameworkDotNet Framework
DotNet Framework
 

More from Yogendra Tamang

More from Yogendra Tamang (20)

Asp.net orientation
Asp.net orientationAsp.net orientation
Asp.net orientation
 
Azure machine learning tech mela
Azure machine learning tech melaAzure machine learning tech mela
Azure machine learning tech mela
 
Machine learning and azure ml studio gabc
Machine learning and azure ml studio gabcMachine learning and azure ml studio gabc
Machine learning and azure ml studio gabc
 
Machine learning and azure ml studio
Machine learning and azure ml studioMachine learning and azure ml studio
Machine learning and azure ml studio
 
Image classification with Deep Neural Networks
Image classification with Deep Neural NetworksImage classification with Deep Neural Networks
Image classification with Deep Neural Networks
 
Efficient Neural Network Architecture for Image Classfication
Efficient Neural Network Architecture for Image ClassficationEfficient Neural Network Architecture for Image Classfication
Efficient Neural Network Architecture for Image Classfication
 
ADO.NET Introduction
ADO.NET IntroductionADO.NET Introduction
ADO.NET Introduction
 
Introduction and Starting ASP.NET MVC
Introduction and Starting ASP.NET MVCIntroduction and Starting ASP.NET MVC
Introduction and Starting ASP.NET MVC
 
Electronics projects
Electronics projectsElectronics projects
Electronics projects
 
Infromation Reprentation, Structured Data and Semantics
Infromation Reprentation,Structured Data and SemanticsInfromation Reprentation,Structured Data and Semantics
Infromation Reprentation, Structured Data and Semantics
 
Task programming
Task programmingTask programming
Task programming
 
Arduino Workshop Day 2
Arduino  Workshop Day 2Arduino  Workshop Day 2
Arduino Workshop Day 2
 
Arduino Day 1 Presentation
Arduino Day 1 PresentationArduino Day 1 Presentation
Arduino Day 1 Presentation
 
Virtualization lab
Virtualization labVirtualization lab
Virtualization lab
 
Path finder
Path finderPath finder
Path finder
 
Classification and Clustering
Classification and ClusteringClassification and Clustering
Classification and Clustering
 
Notation 3(n3)
Notation 3(n3)Notation 3(n3)
Notation 3(n3)
 
Cloud mobility final
Cloud mobility finalCloud mobility final
Cloud mobility final
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
IP/Wi-Fi Based Robot
IP/Wi-Fi Based RobotIP/Wi-Fi Based Robot
IP/Wi-Fi Based Robot
 

Recently uploaded

678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 

Recently uploaded (20)

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 

.Net framework

  • 2. Outline • Introduction and Background • Compilation • CLS and CTS • CLR • Base Class Libraries
  • 3.
  • 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