SlideShare una empresa de Scribd logo
1 de 19
UNIT 1
Chapter 2
.NET FRAMEWORK
.Net Framework
• .Net Framework is the heart of the microsoft
.NET
• .Net Framework provides the necessary
compile time and run time foundation to build
and run .NET based applications
Common language infrastructure
• Common Language Infrastructure (CLI)
enables an application program written in any
commonly-used programming languages to be
run on any operating system using a common
runtime program rather than a specific for
every language.
Common language infrastructure
CLI basic elements
1. Common Language Infrastructure (CLI)
2. Common Type System (CTS)
3. Common Language Specification (CLS)
4.Virtual Execution System (VES)
CLI basic elements
• The Common Type System (CTS): A set of data
types and operations that are shared by all CTS-
compliant programming languages.
• The Common Language Specification (CLS):The CLI
should conform with the set of base rules to which any
language targeting, since that language should
interoperate with other CLS-compliant languages. The
CLS rules define a subset of the Common Type System.
• The Virtual Execution System (VES)The VES loads and
executes CLI-compatible programs, using the metadata
to combine separately generated pieces of code at
runtime.
Relation
Common Type System(CTS)
• The common type system defines how types are declared, used,
and managed in the common language runtime, and is also an
important part of the runtime's support for cross-language
integration. The common type system performs the following
functions:
• Establishes a framework that helps enable cross-language
integration, type safety, and high-performance code execution.
• Provides an object-oriented model that supports the complete
implementation of many programming languages.
• Defines rules that languages must follow, which helps ensure that
objects written in different languages can interact with each other.
• Provides a library that contains the primitive data types (such
as Boolean, Byte, Char, Int32, and UInt64) used in application
development.
Common Language Specification(CLS)
CLS is set of rules to design any language to support .NET framework
MSIL(Microsoft Intermediate
Language)
• .NET programming language does not compile
into executable code instead it compiles into
an intermediate code
• MSIL code is then send to CLR that converts
the code to machine langaugae it run on host
machine.
• MSIL is similar to java byte code
Just in time (JIT) Compiler
• CPU Specific code that runs on the same
computer architecture as the JIT compiler.
• The CLR supplies a JIT compiler for each
supported CPU architecture, developers can
write a set of MSIL that can be JIT compiled
and run on computers with different
architectures.
Managed and Unmanaged code
• It is a code that written to target the services
of the common language runtime.
• All C#, Visual Basic .NET, and Jscript .NET code
is managed by default
• Visual Studio .NET C++ code is not managed
by default, but the compiler can produce
managed code.
Net Framework Architecture
• .Net Framework Architecture is a
programming model for the .Net platform that
provides an execution environment and
integration with various programming
languages for simple development and
deployment of various Windows and desktop
applications. It consists of class libraries and
reusable components.
.Net Framework Architecture
.NET Components
1. Common Language Runtime
The CLI has the following key features:
• Exception Handling
• Garbage Collection
• Working with Various programming languages
Exception Handling
• Exceptions are errors which occur when the
application is executed.Examples of
exceptions are:
• If an application tries to open a file on the
local machine, but the file is not present.
• If the application tries to fetch some records
from a database, but the connection to the
database is not valid.
Garbage Collection
• Garbage collection is the process of removing
unwanted resources when they are no longer
required.Examples of garbage collection are
• A File handle which is no longer required. If the
application has finished all operations on a file,
then the file handle may no longer be required.
• The database connection is no longer required. If
the application has finished all operations on a
database, then the database connection may no
longer be required.
Class Library
• A class library is a collection of methods and
functions that can be used for the core
purpose.
• For example, there is a class library with
methods to handle all file-level operations. So
there is a method which can be used to read
the text from a file. Similarly, there is a
method to write text to a file.
Languages
• WinForms
• ASP.Net
• ADO.Net

Más contenido relacionado

La actualidad más candente

Introduction to .NET Programming
Introduction to .NET ProgrammingIntroduction to .NET Programming
Introduction to .NET ProgrammingKarthikeyan Mkr
 
.NET Standard - Introduction
.NET Standard - Introduction.NET Standard - Introduction
.NET Standard - IntroductionImmo Landwerth
 
.NET Standard - Under the Hood
.NET Standard - Under the Hood.NET Standard - Under the Hood
.NET Standard - Under the HoodImmo Landwerth
 
Introduction to VB.net
Introduction to VB.netIntroduction to VB.net
Introduction to VB.netYousaf Sahota
 
Evolution of .net frame work
Evolution of .net frame workEvolution of .net frame work
Evolution of .net frame workvc7722
 
Component of .net
Component of .netComponent of .net
Component of .netSireesh K
 
.NET Standard - NuGet Analysis
.NET Standard - NuGet Analysis.NET Standard - NuGet Analysis
.NET Standard - NuGet AnalysisImmo Landwerth
 
.Net framework
.Net framework.Net framework
.Net frameworkArun Pal
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net frameworkInstantenigma
 
.NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits .NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits Deepika Chaudhary
 
The .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewThe .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewCarlos Lopes
 
.Net framework
.Net framework.Net framework
.Net frameworksanya6900
 
01 intro to programming in .net
01   intro to programming in .net01   intro to programming in .net
01 intro to programming in .netFelisha Hosein
 

La actualidad más candente (20)

Introduction to .NET Programming
Introduction to .NET ProgrammingIntroduction to .NET Programming
Introduction to .NET Programming
 
.NET Standard - Introduction
.NET Standard - Introduction.NET Standard - Introduction
.NET Standard - Introduction
 
Net framework
Net frameworkNet framework
Net framework
 
.NET Standard - Under the Hood
.NET Standard - Under the Hood.NET Standard - Under the Hood
.NET Standard - Under the Hood
 
Introduction to VB.net
Introduction to VB.netIntroduction to VB.net
Introduction to VB.net
 
Evolution of .net frame work
Evolution of .net frame workEvolution of .net frame work
Evolution of .net frame work
 
Component of .net
Component of .netComponent of .net
Component of .net
 
srgoc dotnet_ppt
srgoc dotnet_pptsrgoc dotnet_ppt
srgoc dotnet_ppt
 
.NET Standard - NuGet Analysis
.NET Standard - NuGet Analysis.NET Standard - NuGet Analysis
.NET Standard - NuGet Analysis
 
.Net framework
.Net framework.Net framework
.Net framework
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
1.0
1.01.0
1.0
 
4. features of .net
4. features of .net4. features of .net
4. features of .net
 
.NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits .NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits
 
.Net Overview
.Net Overview.Net Overview
.Net Overview
 
C# and dot net framework
C# and dot net frameworkC# and dot net framework
C# and dot net framework
 
The .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewThe .NET Platform - A Brief Overview
The .NET Platform - A Brief Overview
 
.Net framework
.Net framework.Net framework
.Net framework
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
 
01 intro to programming in .net
01   intro to programming in .net01   intro to programming in .net
01 intro to programming in .net
 

Similar 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
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overviewFaisal Aziz
 
Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clrSanSan149
 
.Net overview
.Net overview.Net overview
.Net overviewmadydud
 
Chapter 1 introduction to .net
Chapter 1 introduction to .netChapter 1 introduction to .net
Chapter 1 introduction to .netRahul Bhoge
 
CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)Dilawar Khan
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net frameworkFaisal Aziz
 
Chapter1_Part1.pptx
Chapter1_Part1.pptxChapter1_Part1.pptx
Chapter1_Part1.pptxRaajzKoirala
 
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptxLearn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptxGaytriMate
 
.Net framework
.Net framework.Net framework
.Net frameworkViv EK
 

Similar 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
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overview
 
Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clr
 
VB IMPORTANT QUESTION
VB IMPORTANT QUESTIONVB IMPORTANT QUESTION
VB IMPORTANT QUESTION
 
.Net overview
.Net overview.Net overview
.Net overview
 
VB.Net-Introduction.ppt
VB.Net-Introduction.pptVB.Net-Introduction.ppt
VB.Net-Introduction.ppt
 
NETOverview1ppt.pptx
NETOverview1ppt.pptxNETOverview1ppt.pptx
NETOverview1ppt.pptx
 
NETOverview1.ppt
NETOverview1.pptNETOverview1.ppt
NETOverview1.ppt
 
.Net Introduction
.Net Introduction.Net Introduction
.Net Introduction
 
Chapter 1 introduction to .net
Chapter 1 introduction to .netChapter 1 introduction to .net
Chapter 1 introduction to .net
 
CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
 
Chapter1_Part1.pptx
Chapter1_Part1.pptxChapter1_Part1.pptx
Chapter1_Part1.pptx
 
c#.pptx
c#.pptxc#.pptx
c#.pptx
 
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptxLearn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
 
.Net overview by cetpa
.Net overview by cetpa.Net overview by cetpa
.Net overview by cetpa
 
Net framework
Net frameworkNet framework
Net framework
 
.Net framework
.Net framework.Net framework
.Net framework
 

Último

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
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
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
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
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
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Último (20)

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
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
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
 
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...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
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"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
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
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 

.NET Framework

  • 2. .Net Framework • .Net Framework is the heart of the microsoft .NET • .Net Framework provides the necessary compile time and run time foundation to build and run .NET based applications
  • 3. Common language infrastructure • Common Language Infrastructure (CLI) enables an application program written in any commonly-used programming languages to be run on any operating system using a common runtime program rather than a specific for every language.
  • 5. CLI basic elements 1. Common Language Infrastructure (CLI) 2. Common Type System (CTS) 3. Common Language Specification (CLS) 4.Virtual Execution System (VES)
  • 6. CLI basic elements • The Common Type System (CTS): A set of data types and operations that are shared by all CTS- compliant programming languages. • The Common Language Specification (CLS):The CLI should conform with the set of base rules to which any language targeting, since that language should interoperate with other CLS-compliant languages. The CLS rules define a subset of the Common Type System. • The Virtual Execution System (VES)The VES loads and executes CLI-compatible programs, using the metadata to combine separately generated pieces of code at runtime.
  • 8. Common Type System(CTS) • The common type system defines how types are declared, used, and managed in the common language runtime, and is also an important part of the runtime's support for cross-language integration. The common type system performs the following functions: • Establishes a framework that helps enable cross-language integration, type safety, and high-performance code execution. • Provides an object-oriented model that supports the complete implementation of many programming languages. • Defines rules that languages must follow, which helps ensure that objects written in different languages can interact with each other. • Provides a library that contains the primitive data types (such as Boolean, Byte, Char, Int32, and UInt64) used in application development.
  • 9. Common Language Specification(CLS) CLS is set of rules to design any language to support .NET framework
  • 10. MSIL(Microsoft Intermediate Language) • .NET programming language does not compile into executable code instead it compiles into an intermediate code • MSIL code is then send to CLR that converts the code to machine langaugae it run on host machine. • MSIL is similar to java byte code
  • 11. Just in time (JIT) Compiler • CPU Specific code that runs on the same computer architecture as the JIT compiler. • The CLR supplies a JIT compiler for each supported CPU architecture, developers can write a set of MSIL that can be JIT compiled and run on computers with different architectures.
  • 12. Managed and Unmanaged code • It is a code that written to target the services of the common language runtime. • All C#, Visual Basic .NET, and Jscript .NET code is managed by default • Visual Studio .NET C++ code is not managed by default, but the compiler can produce managed code.
  • 13. Net Framework Architecture • .Net Framework Architecture is a programming model for the .Net platform that provides an execution environment and integration with various programming languages for simple development and deployment of various Windows and desktop applications. It consists of class libraries and reusable components.
  • 15. .NET Components 1. Common Language Runtime The CLI has the following key features: • Exception Handling • Garbage Collection • Working with Various programming languages
  • 16. Exception Handling • Exceptions are errors which occur when the application is executed.Examples of exceptions are: • If an application tries to open a file on the local machine, but the file is not present. • If the application tries to fetch some records from a database, but the connection to the database is not valid.
  • 17. Garbage Collection • Garbage collection is the process of removing unwanted resources when they are no longer required.Examples of garbage collection are • A File handle which is no longer required. If the application has finished all operations on a file, then the file handle may no longer be required. • The database connection is no longer required. If the application has finished all operations on a database, then the database connection may no longer be required.
  • 18. Class Library • A class library is a collection of methods and functions that can be used for the core purpose. • For example, there is a class library with methods to handle all file-level operations. So there is a method which can be used to read the text from a file. Similarly, there is a method to write text to a file.