SlideShare a Scribd company logo
5
Most read
8
Most read
10
Most read
1 .NET Framework
Architecture
Shoaib Ghachi
Corporate Trainer | SME | Consultant
Microsoft Technology Associate
 History of .Net
 .Net SDK.
 Flavors of .Net.
 Communication Between Fx and O.S.
 Architecture of .Net Fx.
 V.E.S of CLR.
 Generic Features of .Net.
 Features of Visual Studio.Net
 Sometime in the July 2000, Microsoft announced a whole
new software development framework for Windows called
.NET in the Professional Developer Conference (PDC).
 Microsoft started development on the .NET Framework in
under the name of Next Generation Windows Services
(NGWS). By late 2000 the first beta versions of .NET 1.0
were released.
1.1Historyof.Net
IDE FRAMEWORK
VS.NET 2002 1.0
VS.NET 2003 1.1
VS.NET 2005 2.0
VS.NET 2008 2.0, 3.0, 3.5
VS.NET 2010 2.0, 3.0, 3.5, 4.0
VS.NET
2012,13,14
2.0, 3.0, 3.5, 4.0,4.5
VS.NET
2015,2017
2.0,3.0.3.5,4.0,4.5,4.6
VS.NET 2019 2.0,3.0.3.5,4.0,4.5,4.6,4.7,4.8
1.2 .Net SDK’s (Software Development Kit)
1.3 Flavors of .NET
Console applications:
• These refer to traditional DOS kind of applications like batch
scripts.
•It has CUI(character based User Interface).
ASP.NET/ Web applications:
•These include dynamic and data driven browser based
applications.
Windows Form based applications:
• These refer to traditional rich client applications.
It has GUI (Graphical User Interface)
WPF Application (Windows Presentation Foundation):
•WPF is a powerful new infrastructure based on DirectX.
•This means that you can use rich graphical effects without
incurring the performance overhead that you’d suffer with
Windows Forms.
•In fact, you even get advanced features such as support for video
files and 3-D content.
Xamarin:
•Its Free, Open Source and Cross platform Mobile App Dev. SDK.
•An app platform for building Android and iOS apps with .NET and C#.
1.4 Communication between .NET framework & O.S
O.S
.NET Framework
.NET
Application
Managed Library
Unmanaged Library
CLR
1.5 Architecture of .Net Framework:
VB C#
WINFORMS WEB/ASP.NET WPF
Console
Application
BCL (Base Class Library) + FRAMEWORK CLASS LIBRARY (FCL)
DATA AND XML CLASSES
CLR
Underlying Operating
System
IDE (VISUAL
STUDIO.NET)
3rd Party Services
1.6 Virtual Execution System (VES)
VB C# J#
C++ etc
VBC C# C JVM
C++ C etc
Microsoft Intermediate Language (MSIL)
CLS
CTS
JIT
VB
VBC CSc
Microsoft Intermediate Language (MSIL)
Native Machine Code
NET CLR is a run-time environment that manages and executes the code
written in any .NET programming language.
•It converts code into native code which further can be executed by the CPU.
•Base Class Library Support
It is a class library that provides support of classes to the .NET application
•Type Checker
It checks types used in the application and verifies that they match to the
standards provided by the CLR.
•Code Manager
It manages code at execution run-time.
•Garbage Collector
It releases the unused memory and allocates it to a new application.
•Exception Handler
It handles the exception at runtime to avoid application failure.
• is a set of instructions that are platform independent and
are generated by the language-specific compiler from the
source code.
• The MSIL is platform independent and consequently, it can
be executed on any of the Common Language
Infrastructure supported environments such as the
Windows .NET runtime.
• CLS stands for Common Language Specification and it is a
subset of CTS. It defines a set of rules and restrictions that
every language must follow which runs under the .NET
framework.
• The languages which follow these set of rules are said to be
CLS Compliant.
• For Example
• For each. Net lang we have to use the new keyword to
create an instance, index of array of each. Net lang should
start with 0.
• Common Type System (CTS) describes the datatypes that
can be used by managed code. CTS defines how these types
are declared, used and managed in the runtime.
• It facilitates cross-language integration, type safety, and
high-performance code execution.
The JIT compiler translates the MSIL code of an assembly to
native code and uses the CPU architecture of the target
machine to execute a . NET application.
• Pre-JIT: Compiles the entire source code during compilation and
is used at the time of deployment.
• Econo-JIT: Compiles methods that are called during run time.
• Normal-JIT: Compiles only the methods called during run time
(at the instant of their first call) and stores the compiled code in
cache to be used in subsequent calls.
1.7GenericFeaturesof.Net
•Common Executive Environment:
•Common Type System:
•Multi-language support:
•Visual Studio Support:
•Security:
•Automatic Resource Management:
•Easy and rich debugging support:
•Simplified development:
•Framework class library:
•Portability:
•Strong XML Support:
1.8 Features of Visual Studio
VS.Net Multi-Targeting Support
Intellisense
Strong Debugging Support
Code Snippet
Shared IDE
Watch Window
Code Test
Collaboration
Terms .Net Fx .Net Core
Open Source Proprietary Framework Open Source Framework
Cross-Platform .NET Framework enabled developers
to build applications for a single
platform — Windows.
.NET Core is cross-platform,
and supports three distinct
operating systems —
Windows, OS X, and Linux.
Installation The .NET Framework needs to be
installed as a single package and
runtime environment for Windows.
.NET Core is cross-platform,
and needs to be packaged and
installed independent of the
underlying operating system.
Modular Collection of
Libraries
.NET fx is not cross-platform, and
needs to be packaged and installed
underlying operating system.
.NET Core is cross-platform,
and needs to be packaged and
installed independent of the
underlying operating system.
Application Models The application model of .NET
Framework includes Windows Forms,
ASP.NET, and Windows Presentation
Foundation (WPF).
On the other hand, the
application model of .NET Core
includes ASP.NET Core and
Windows Universal Apps.
1.9 .Net Fx and .Net Core
Deployment Options .NET Framework, developers
have to deploy web
applications only on Internet
Information Server.
the web applications developed
with ASP.NET Core can be
hosted in a number of ways.
Cloud Ready
Configuration
Required some additional
config.
Unlike .NET Framework, .NET
Core is designed with features
to simplify development and
deployment of cloud-based
application.
Performance and
Scalability
Its comparatively poor than
.Net Core App in terms of
performance.
NET Core is more effective than
.NET Framework to enhance
the performance and scalability
of applications.
Microservices Unlike .NET Framework, .NET
Core makes it easier for
developers to build
microservice oriented systems
rapidly.
1.10 .NET Compitible Programming Languages
Visual Basic.Net
C#
APL
4Fortran
Pascal
C++
Haskell
Perl
J#
Python
COBOL
Microsoft JScript
RPG
Component Pascal
Mercury
Scheme
Curriculum
Mondrian
SmallTalk
Eiffel
Oberon
Standard ML
Forth
VC++
F#

More Related Content

What's hot (20)

PPT
C# basics
Dinesh kumar
 
PPTX
C# lecture 1: Introduction to Dot Net Framework
Dr.Neeraj Kumar Pandey
 
PPTX
C# lecture 2: Literals , Variables and Data Types in C#
Dr.Neeraj Kumar Pandey
 
PPT
Java interfaces
Raja Sekhar
 
PPSX
C# - Part 1
Md. Mahedee Hasan
 
PDF
Record Classes in Java
Haim Michael
 
PPTX
JAVA ALL 5 MODULE NOTES.pptx
DrPreethiD1
 
PPT
Introduction to .NET Framework
Raghuveer Guthikonda
 
PDF
Class and Objects in Java
Spotle.ai
 
PPTX
Java abstract class & abstract methods
Shubham Dwivedi
 
PPTX
TypeScript: Basic Features and Compilation Guide
Nascenia IT
 
PPTX
VB.NET:An introduction to Namespaces in .NET framework
Richa Handa
 
PPTX
C# programming language
swarnapatil
 
PPTX
Object Oriented Programing JAVA presentaion
Pritom Chaki
 
PPT
Introduction To C#
SAMIR BHOGAYTA
 
PPTX
CSharp Presentation
Vishwa Mohan
 
PPTX
Polymorphism in Python
Home
 
PPTX
Type script - advanced usage and practices
Iwan van der Kleijn
 
C# basics
Dinesh kumar
 
C# lecture 1: Introduction to Dot Net Framework
Dr.Neeraj Kumar Pandey
 
C# lecture 2: Literals , Variables and Data Types in C#
Dr.Neeraj Kumar Pandey
 
Java interfaces
Raja Sekhar
 
C# - Part 1
Md. Mahedee Hasan
 
Record Classes in Java
Haim Michael
 
JAVA ALL 5 MODULE NOTES.pptx
DrPreethiD1
 
Introduction to .NET Framework
Raghuveer Guthikonda
 
Class and Objects in Java
Spotle.ai
 
Java abstract class & abstract methods
Shubham Dwivedi
 
TypeScript: Basic Features and Compilation Guide
Nascenia IT
 
VB.NET:An introduction to Namespaces in .NET framework
Richa Handa
 
C# programming language
swarnapatil
 
Object Oriented Programing JAVA presentaion
Pritom Chaki
 
Introduction To C#
SAMIR BHOGAYTA
 
CSharp Presentation
Vishwa Mohan
 
Polymorphism in Python
Home
 
Type script - advanced usage and practices
Iwan van der Kleijn
 

Similar to 1..Net Framework Architecture-(c#) (20)

PPT
.Net overview|Introduction Of .net
pinky singh
 
PPT
Introduction to .net
Karthika Parthasarathy
 
PPTX
.Net the begining
cncwebworld
 
PPT
Introdot Netc Sharp En
Gregory Renard
 
PPTX
Dot net-interview-questions-and-answers part i
Rakesh Joshi
 
PDF
Dot net-interview-questions-and-answers part i
Rakesh Joshi
 
PPTX
Introduction of .net framework
Prognoz Technologies Pvt. Ltd.
 
PPTX
Introduction to .net
Jaya Kumari
 
PPT
.Net overview
Pankaj Rattan
 
PPT
.Net Overview
Pankaj Rattan
 
PPT
Microsoft.Net
Vishwa Mohan
 
PDF
Tutorial c#
Mohammad Faizan
 
PPT
.Net introduction by Quontra Solutions
QUONTRASOLUTIONS
 
PPTX
Dotnet1
Sudhriti Gupta
 
PPTX
c#.pptx
GokulPadmakumar3
 
PPT
.Net overview
madydud
 
PPTX
DOT NET Framework.pptxdsfdsfdsfsdfdsfdsfdsf
zmulani8
 
PDF
Dot NET Core Interview Questions PDF By ScholarHat
Scholarhat
 
PPS
Asp.net new
Ganesh Jaya
 
PPT
Inside .net framework
Faisal Aziz
 
.Net overview|Introduction Of .net
pinky singh
 
Introduction to .net
Karthika Parthasarathy
 
.Net the begining
cncwebworld
 
Introdot Netc Sharp En
Gregory Renard
 
Dot net-interview-questions-and-answers part i
Rakesh Joshi
 
Dot net-interview-questions-and-answers part i
Rakesh Joshi
 
Introduction of .net framework
Prognoz Technologies Pvt. Ltd.
 
Introduction to .net
Jaya Kumari
 
.Net overview
Pankaj Rattan
 
.Net Overview
Pankaj Rattan
 
Microsoft.Net
Vishwa Mohan
 
Tutorial c#
Mohammad Faizan
 
.Net introduction by Quontra Solutions
QUONTRASOLUTIONS
 
.Net overview
madydud
 
DOT NET Framework.pptxdsfdsfdsfsdfdsfdsfdsf
zmulani8
 
Dot NET Core Interview Questions PDF By ScholarHat
Scholarhat
 
Asp.net new
Ganesh Jaya
 
Inside .net framework
Faisal Aziz
 
Ad

Recently uploaded (20)

PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Digital Circuits, important subject in CS
contactparinay1
 
Ad

1..Net Framework Architecture-(c#)

  • 1. 1 .NET Framework Architecture Shoaib Ghachi Corporate Trainer | SME | Consultant Microsoft Technology Associate
  • 2.  History of .Net  .Net SDK.  Flavors of .Net.  Communication Between Fx and O.S.  Architecture of .Net Fx.  V.E.S of CLR.  Generic Features of .Net.  Features of Visual Studio.Net
  • 3.  Sometime in the July 2000, Microsoft announced a whole new software development framework for Windows called .NET in the Professional Developer Conference (PDC).  Microsoft started development on the .NET Framework in under the name of Next Generation Windows Services (NGWS). By late 2000 the first beta versions of .NET 1.0 were released. 1.1Historyof.Net
  • 4. IDE FRAMEWORK VS.NET 2002 1.0 VS.NET 2003 1.1 VS.NET 2005 2.0 VS.NET 2008 2.0, 3.0, 3.5 VS.NET 2010 2.0, 3.0, 3.5, 4.0 VS.NET 2012,13,14 2.0, 3.0, 3.5, 4.0,4.5 VS.NET 2015,2017 2.0,3.0.3.5,4.0,4.5,4.6 VS.NET 2019 2.0,3.0.3.5,4.0,4.5,4.6,4.7,4.8 1.2 .Net SDK’s (Software Development Kit)
  • 5. 1.3 Flavors of .NET Console applications: • These refer to traditional DOS kind of applications like batch scripts. •It has CUI(character based User Interface). ASP.NET/ Web applications: •These include dynamic and data driven browser based applications. Windows Form based applications: • These refer to traditional rich client applications. It has GUI (Graphical User Interface)
  • 6. WPF Application (Windows Presentation Foundation): •WPF is a powerful new infrastructure based on DirectX. •This means that you can use rich graphical effects without incurring the performance overhead that you’d suffer with Windows Forms. •In fact, you even get advanced features such as support for video files and 3-D content. Xamarin: •Its Free, Open Source and Cross platform Mobile App Dev. SDK. •An app platform for building Android and iOS apps with .NET and C#.
  • 7. 1.4 Communication between .NET framework & O.S O.S .NET Framework .NET Application Managed Library Unmanaged Library CLR
  • 8. 1.5 Architecture of .Net Framework: VB C# WINFORMS WEB/ASP.NET WPF Console Application BCL (Base Class Library) + FRAMEWORK CLASS LIBRARY (FCL) DATA AND XML CLASSES CLR Underlying Operating System IDE (VISUAL STUDIO.NET) 3rd Party Services
  • 9. 1.6 Virtual Execution System (VES) VB C# J# C++ etc VBC C# C JVM C++ C etc Microsoft Intermediate Language (MSIL) CLS CTS JIT VB VBC CSc Microsoft Intermediate Language (MSIL) Native Machine Code
  • 10. NET CLR is a run-time environment that manages and executes the code written in any .NET programming language. •It converts code into native code which further can be executed by the CPU. •Base Class Library Support It is a class library that provides support of classes to the .NET application •Type Checker It checks types used in the application and verifies that they match to the standards provided by the CLR. •Code Manager It manages code at execution run-time. •Garbage Collector It releases the unused memory and allocates it to a new application. •Exception Handler It handles the exception at runtime to avoid application failure.
  • 11. • is a set of instructions that are platform independent and are generated by the language-specific compiler from the source code. • The MSIL is platform independent and consequently, it can be executed on any of the Common Language Infrastructure supported environments such as the Windows .NET runtime.
  • 12. • CLS stands for Common Language Specification and it is a subset of CTS. It defines a set of rules and restrictions that every language must follow which runs under the .NET framework. • The languages which follow these set of rules are said to be CLS Compliant. • For Example • For each. Net lang we have to use the new keyword to create an instance, index of array of each. Net lang should start with 0.
  • 13. • Common Type System (CTS) describes the datatypes that can be used by managed code. CTS defines how these types are declared, used and managed in the runtime. • It facilitates cross-language integration, type safety, and high-performance code execution.
  • 14. The JIT compiler translates the MSIL code of an assembly to native code and uses the CPU architecture of the target machine to execute a . NET application. • Pre-JIT: Compiles the entire source code during compilation and is used at the time of deployment. • Econo-JIT: Compiles methods that are called during run time. • Normal-JIT: Compiles only the methods called during run time (at the instant of their first call) and stores the compiled code in cache to be used in subsequent calls.
  • 15. 1.7GenericFeaturesof.Net •Common Executive Environment: •Common Type System: •Multi-language support: •Visual Studio Support: •Security: •Automatic Resource Management: •Easy and rich debugging support: •Simplified development: •Framework class library: •Portability: •Strong XML Support:
  • 16. 1.8 Features of Visual Studio VS.Net Multi-Targeting Support Intellisense Strong Debugging Support Code Snippet Shared IDE Watch Window Code Test Collaboration
  • 17. Terms .Net Fx .Net Core Open Source Proprietary Framework Open Source Framework Cross-Platform .NET Framework enabled developers to build applications for a single platform — Windows. .NET Core is cross-platform, and supports three distinct operating systems — Windows, OS X, and Linux. Installation The .NET Framework needs to be installed as a single package and runtime environment for Windows. .NET Core is cross-platform, and needs to be packaged and installed independent of the underlying operating system. Modular Collection of Libraries .NET fx is not cross-platform, and needs to be packaged and installed underlying operating system. .NET Core is cross-platform, and needs to be packaged and installed independent of the underlying operating system. Application Models The application model of .NET Framework includes Windows Forms, ASP.NET, and Windows Presentation Foundation (WPF). On the other hand, the application model of .NET Core includes ASP.NET Core and Windows Universal Apps. 1.9 .Net Fx and .Net Core
  • 18. Deployment Options .NET Framework, developers have to deploy web applications only on Internet Information Server. the web applications developed with ASP.NET Core can be hosted in a number of ways. Cloud Ready Configuration Required some additional config. Unlike .NET Framework, .NET Core is designed with features to simplify development and deployment of cloud-based application. Performance and Scalability Its comparatively poor than .Net Core App in terms of performance. NET Core is more effective than .NET Framework to enhance the performance and scalability of applications. Microservices Unlike .NET Framework, .NET Core makes it easier for developers to build microservice oriented systems rapidly.
  • 19. 1.10 .NET Compitible Programming Languages Visual Basic.Net C# APL 4Fortran Pascal C++ Haskell Perl J# Python COBOL Microsoft JScript RPG Component Pascal Mercury Scheme Curriculum Mondrian SmallTalk Eiffel Oberon Standard ML Forth VC++ F#