SlideShare uma empresa Scribd logo
1 de 11
.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

Mais conteúdo relacionado

Mais procurados

CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp PresentationVishwa Mohan
 
Introduction to ,NET Framework
Introduction to ,NET FrameworkIntroduction to ,NET Framework
Introduction to ,NET FrameworkANURAG SINGH
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net frameworkAshish Verma
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To DotnetSAMIR BHOGAYTA
 
C# Tutorial
C# Tutorial C# Tutorial
C# Tutorial Jm Ramos
 
Dotnet Basics Presentation
Dotnet Basics PresentationDotnet Basics Presentation
Dotnet Basics PresentationSudhakar Sharma
 
c#.Net Windows application
c#.Net Windows application c#.Net Windows application
c#.Net Windows application veera
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishSvetlin Nakov
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NETRajkumarsoy
 
.Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1).Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1)Rishi Kothari
 
dot net technology
dot net technologydot net technology
dot net technologyImran Khan
 

Mais procurados (20)

CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp Presentation
 
Introduction to ,NET Framework
Introduction to ,NET FrameworkIntroduction to ,NET Framework
Introduction to ,NET Framework
 
Dot net assembly
Dot net assemblyDot net assembly
Dot net assembly
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 
C# Tutorial
C# Tutorial C# Tutorial
C# Tutorial
 
C sharp
C sharpC sharp
C sharp
 
Dotnet Basics Presentation
Dotnet Basics PresentationDotnet Basics Presentation
Dotnet Basics Presentation
 
DOT Net overview
DOT Net overviewDOT Net overview
DOT Net overview
 
C# basics
 C# basics C# basics
C# basics
 
Visual Studio IDE
Visual Studio IDEVisual Studio IDE
Visual Studio IDE
 
c#.Net Windows application
c#.Net Windows application c#.Net Windows application
c#.Net Windows application
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
 
C sharp
C sharpC sharp
C sharp
 
.Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1).Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1)
 
Programming with c#
Programming with c#Programming with c#
Programming with c#
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
 
dot net technology
dot net technologydot net technology
dot net technology
 

Semelhante a .Net framework

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...dnnindia
 
.Net overview|Introduction Of .net
.Net overview|Introduction Of .net.Net overview|Introduction Of .net
.Net overview|Introduction Of .netpinky singh
 
.Net Framwork Architecture And components
.Net Framwork Architecture And components.Net Framwork Architecture And components
.Net Framwork Architecture And componentssyedArr
 
Chapter1_Part1.pptx
Chapter1_Part1.pptxChapter1_Part1.pptx
Chapter1_Part1.pptxRaajzKoirala
 
random-140312045902-phpapp01.pdf
random-140312045902-phpapp01.pdfrandom-140312045902-phpapp01.pdf
random-140312045902-phpapp01.pdfPragunSinghal1
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)DrUjwala1
 
Components of .NET Framework
Components of .NET FrameworkComponents of .NET Framework
Components of .NET FrameworkRoshith S Pai
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net frameworkFaisal Aziz
 
Features Of .NET Framework
Features Of .NET FrameworkFeatures Of .NET Framework
Features Of .NET FrameworkEcho Innovate IT
 
Chapter 1 introduction to .net
Chapter 1 introduction to .netChapter 1 introduction to .net
Chapter 1 introduction to .netRahul Bhoge
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsQuontra Solutions
 
.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 veligetiNaveen 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 3aminmesbahi
 
.Net Framework
.Net Framework.Net Framework
.Net FrameworkMohamadKrm
 
DotNet Framework
DotNet FrameworkDotNet Framework
DotNet FrameworkWani Zahoor
 

Semelhante a .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
 

Mais de Yogendra Tamang

Azure machine learning tech mela
Azure machine learning tech melaAzure machine learning tech mela
Azure machine learning tech melaYogendra Tamang
 
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 gabcYogendra Tamang
 
Machine learning and azure ml studio
Machine learning and azure ml studioMachine learning and azure ml studio
Machine learning and azure ml studioYogendra Tamang
 
Image classification with Deep Neural Networks
Image classification with Deep Neural NetworksImage classification with Deep Neural Networks
Image classification with Deep Neural NetworksYogendra Tamang
 
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 ClassficationYogendra Tamang
 
Introduction and Starting ASP.NET MVC
Introduction and Starting ASP.NET MVCIntroduction and Starting ASP.NET MVC
Introduction and Starting ASP.NET MVCYogendra Tamang
 
Infromation Reprentation, Structured Data and Semantics
Infromation Reprentation,Structured Data and SemanticsInfromation Reprentation,Structured Data and Semantics
Infromation Reprentation, Structured Data and SemanticsYogendra Tamang
 
Arduino Day 1 Presentation
Arduino Day 1 PresentationArduino Day 1 Presentation
Arduino Day 1 PresentationYogendra Tamang
 
Classification and Clustering
Classification and ClusteringClassification and Clustering
Classification and ClusteringYogendra Tamang
 
Natural language processing
Natural language processingNatural language processing
Natural language processingYogendra Tamang
 

Mais de 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
 

Último

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 

Último (20)

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

.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