SlideShare une entreprise Scribd logo
1  sur  19
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#

Contenu connexe

Tendances

C# Common Type System & Common Language Specification
C# Common Type System & Common Language Specification C# Common Type System & Common Language Specification
C# Common Type System & Common Language Specification Prem Kumar Badri
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework OverviewDoncho Minkov
 
.Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1).Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1)Rishi Kothari
 
Data Types & Variables in JAVA
Data Types & Variables in JAVAData Types & Variables in JAVA
Data Types & Variables in JAVAAnkita Totala
 
Architecture of .net framework
Architecture of .net frameworkArchitecture of .net framework
Architecture of .net frameworkThen Murugeshwari
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE IntroductionAhllen Javier
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XMLVijay Mishra
 
Declarative programming language
Declarative programming languageDeclarative programming language
Declarative programming languageVinisha Pathak
 
ITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in javaITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in javaAtul Sehdev
 
Properties and indexers in C#
Properties and indexers in C#Properties and indexers in C#
Properties and indexers in C#Hemant Chetwani
 
Components of .NET Framework
Components of .NET FrameworkComponents of .NET Framework
Components of .NET FrameworkRoshith S Pai
 
Dotnet Frameworks Version History
Dotnet Frameworks Version HistoryDotnet Frameworks Version History
Dotnet Frameworks Version Historyvoltaincx
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To DotnetSAMIR BHOGAYTA
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.netJaya Kumari
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)AakankshaR
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture AqsaHayat3
 

Tendances (20)

C#.NET
C#.NETC#.NET
C#.NET
 
C# Common Type System & Common Language Specification
C# Common Type System & Common Language Specification C# Common Type System & Common Language Specification
C# Common Type System & Common Language Specification
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
 
.Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1).Net Overview -- Training (Lesson 1)
.Net Overview -- Training (Lesson 1)
 
Data Types & Variables in JAVA
Data Types & Variables in JAVAData Types & Variables in JAVA
Data Types & Variables in JAVA
 
Architecture of .net framework
Architecture of .net frameworkArchitecture of .net framework
Architecture of .net framework
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE Introduction
 
Introduction to c#
Introduction to c#Introduction to c#
Introduction to c#
 
.Net framework
.Net framework.Net framework
.Net framework
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Declarative programming language
Declarative programming languageDeclarative programming language
Declarative programming language
 
ITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in javaITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in java
 
Properties and indexers in C#
Properties and indexers in C#Properties and indexers in C#
Properties and indexers in C#
 
Components of .NET Framework
Components of .NET FrameworkComponents of .NET Framework
Components of .NET Framework
 
Dotnet Frameworks Version History
Dotnet Frameworks Version HistoryDotnet Frameworks Version History
Dotnet Frameworks Version History
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
 

Similaire à 1..Net Framework Architecture-(c#)

.Net overview|Introduction Of .net
.Net overview|Introduction Of .net.Net overview|Introduction Of .net
.Net overview|Introduction Of .netpinky singh
 
.Net the begining
.Net the begining.Net the begining
.Net the beginingcncwebworld
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp EnGregory Renard
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iRakesh Joshi
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iRakesh Joshi
 
Introduction to .net
Introduction to .net Introduction to .net
Introduction to .net Jaya Kumari
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra SolutionsQUONTRASOLUTIONS
 
.Net overview
.Net overview.Net overview
.Net overviewmadydud
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net frameworkFaisal Aziz
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overviewFaisal Aziz
 
Dot net interview_questions
Dot net interview_questionsDot net interview_questions
Dot net interview_questions9292929292
 

Similaire à 1..Net Framework Architecture-(c#) (20)

.Net overview|Introduction Of .net
.Net overview|Introduction Of .net.Net overview|Introduction Of .net
.Net overview|Introduction Of .net
 
Introduction to .net
Introduction to .netIntroduction to .net
Introduction to .net
 
.Net the begining
.Net the begining.Net the begining
.Net the begining
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp En
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part i
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part i
 
Introduction of .net framework
Introduction of .net frameworkIntroduction of .net framework
Introduction of .net framework
 
Introduction to .net
Introduction to .net Introduction to .net
Introduction to .net
 
.Net overview
.Net overview.Net overview
.Net overview
 
.Net Overview
.Net Overview.Net Overview
.Net Overview
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
 
Tutorial c#
Tutorial c#Tutorial c#
Tutorial c#
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions
 
Dotnet1
Dotnet1Dotnet1
Dotnet1
 
c#.pptx
c#.pptxc#.pptx
c#.pptx
 
.Net overview
.Net overview.Net overview
.Net overview
 
Asp.net new
Asp.net newAsp.net new
Asp.net new
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overview
 
Dot net interview_questions
Dot net interview_questionsDot net interview_questions
Dot net interview_questions
 

Dernier

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Dernier (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

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#