SlideShare a Scribd company logo
Architecture Explained (cont’d)
 Object Model
 Conceptual basis for everything in .NET
 Common Language Runtime
 Basic set of mechanisms for executing .NET
programs regardless of language of origin
.NET Framework
Windows FormsWindows FormsWindows FormsWindows FormsASP.NETASP.NETASP.NETASP.NET
Web Services
ASP.NET Application Services
Web Forms ControlsControls Drawing
Windows Application Services
Framework Class LibraryFramework Class LibraryFramework Class LibraryFramework Class Library
ADO.NET
Network
XML
Security
Threading
Diagnostics
IO
Etc.
Common Language RuntimeCommon Language RuntimeCommon Language RuntimeCommon Language Runtime
Memory Management Common Type System Lifecycle Monitoring
Framework Class Library
 The FCL is a hierarchical class library that can be utilized
across multiple languages and platforms.
 Contains reusable classes, interfaces, and components that can
be used for:
 Developing components and Web Services.
 Developing Windows Forms applications.
 Developing Web Forms applications.
 Working with Directory Services, Event Logs, Processes, Message
Queues, and Timers.
 Creating and managing threads.
 Managing application security.
 Key features and benefits
 Cross-Language Interoperability
 Consistent and Unified Programming Model
 Object-Oriented and Extensible Class Library
Common Language Runtime
 The CLR is at the core of the .NET platform - the
execution engine. A unifying framework for designing,
developing, deploying, and executing distributed
components and applications.
 Loads and runs code written in any runtime-aware
programming language (approx. 22 as of now).
 Manages memory, thread execution, type safety
verification and garbage collection.
 Performs compilation (Just In-time Compiler)
 Makes use of a new common type system capable
of expressing the semantics of most modern
programming languages. The common type system
defines a standard set of types and rules for creating
new types.
 Inheritance/Reference NOT dependent on source
language
MSIL and JIT Compilation
 Source code is compiled into MSIL (Microsoft Intermediate Language).
Similar to Java bytecode.
 MSIL allows for runtime type-safety and security, as well as portable
execution platforms (all Windows). MSIL code cannot play tricks with
pointers or illegal type conversions.
 The MSIL architecture results in apps that run in one address space -
thus much less OS overhead.
 Compilers also produce “metadata”:
 Definitions of each type in your code.
 Signatures of each type’s members.
 Members that your code references.
 Other runtime data for the CLR.
 Metadata along with the MSIL enables code to be self-describing - no
need for separate type libraries, IDL, or registry entries.
 When code is executed by the CLR, a JIT compilation step occurs.
Code is compiled method-by-method to native machine code.
Packaging: Modules, Types,
Assemblies, and the Manifest
AssemblyAssemblyAssemblyAssembly
ManifestManifest
ModuleModule
MetadataMetadata
MSILMSIL
TypeType TypeTypeTypeType
Packaging: Modules, Types,
Assemblies, and the Manifest
 A “module” refers to a binary, such as an EXE or
DLL.
 Modules contain definitions of types, such as classes,
interfaces, structures, and enumerations.
 An assembly contains a “manifest”, which is a catalog
of component metadata containing:
 Assembly name.
 Version (major, minor, revision, build).
 Assembly file list - all files “contained” in the assembly.
 Type references - mapping the managed types included in
the assembly with the files that contain them.
 Scope - private or shared.
 Referenced assemblies.
 No MSIL code can be executed unless there is a
manifest associated with it.
Packaging: Modules, Types,
Assemblies, and the Manifest
 An assembly can be defined as one or more modules
that make up a unit of functionality. Assemblies also
can “contain” other files that make up an application,
such as bitmaps and resource files.
 An assembly is not a physical file.
 An assembly is the fundamental unit of deployment,
version control, activation scoping, and security
permissions.
 Two types of assemblies:
 Private - Usually deployed in the same directory as the client
application and used only by a single application.
 Shared - Used by any application and usually installed in a
special Global Assembly Cache.
.NET Component Model
 Offers developers an component model directly
based on OO.
 Removes distinction between a program element and
a software component. Thus it provides significant
benefits over technologies like CORBA and COM.
 .Net gets rid of the IDL - we can use a .Net assembly
directly as a component.
 Uses interface documentation already present in the
source code. Compliers for .Net supported languages
retain this information as metadata - self documented
components.
 Metadata is also available in XML format, any
application whether it is a part of .NET or not can
obtain information about components.
Microsoft C#
 A modern, object-oriented programming
language built from the ground up to exploit the
power of XML-based Web services on the .NET
platform.
 The main design goal of C# was simplicity rather
than pure power.
 Features of C#
Simplicity Type Safety
Consistency Version Control
Modernity Compatibility
Object Orientation Flexibility
.NET security
 The .NET Security Framework Architecture consists of
the following five core elements:
 Evidence Based Security - At runtime, the CLR determines
permission requests by evaluating the assembly’s evidence.
 Code Access Security - allows code to be trusted to varying
degrees, depending on where the code originates and on other
aspects of the code's identity.
 Verification - during JIT, the CLR ensures memory type
safety.
 Role Based Security - .NET applications can make
authorization decisions based on identity and role membership.
 Cryptography - The .NET Framework provides Random
Number Generation and other Cryptographic services.
Conclusion
 .Net creates a new concept, “the Internet Operating
System”.
 .Net allows cross-platform development to an extent
not before possible.
 .Net web services can be integrated into existing
distributed object technologies today by replacing
their RPC wire protocol with SOAP .
 Large-scale distributed application development and
deployment become possible on a level that presents
major difficulties today.
 Stricter versioning policies help to ensure greater
stability during upgrades, even in shared libraries.
 "Software as a service" - a subscription model for
application deployment - becomes a feasible option.

More Related Content

PDF
Lesson 1 Understanding Dot Net Framework
DOCX
1 what is microsoft .net framework
PPT
Microsoft dot net framework
PPT
Microsoft.Net
PPT
Module 1: Introduction to .NET Framework 3.5 (Slides)
PPT
Architecture of .net framework
DOCX
Dotnet training in Chennai
PPT
.Net introduction by Quontra Solutions
Lesson 1 Understanding Dot Net Framework
1 what is microsoft .net framework
Microsoft dot net framework
Microsoft.Net
Module 1: Introduction to .NET Framework 3.5 (Slides)
Architecture of .net framework
Dotnet training in Chennai
.Net introduction by Quontra Solutions

What's hot (20)

PDF
Dot net-interview-questions-and-answers part i
PPTX
Dot net-interview-questions-and-answers part i
PPT
.Net overview|Introduction Of .net
PPT
Introduction .NET Framework
PPTX
4. features of .net
PPTX
Net Fundamentals
DOCX
.Net framework components by naveen kumar veligeti
PPTX
dot net technology
PPTX
.Net Framework Introduction
PPSX
An isas presentation on .net framework 2.0 by vikash chandra das
PDF
Dot Net Fundamentals
PPTX
02 intro to programming in .net (part 2)
PPTX
Common language runtime clr
PPSX
Life as an asp.net programmer
PPTX
Introduction to vb.net
PPTX
Vb ch 2-introduction_to_.net
PPTX
01 intro to programming in .net
PDF
Dotnet basics
PPSX
Introduction to .net framework
PPT
ASP.NET 01 - Introduction
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part i
.Net overview|Introduction Of .net
Introduction .NET Framework
4. features of .net
Net Fundamentals
.Net framework components by naveen kumar veligeti
dot net technology
.Net Framework Introduction
An isas presentation on .net framework 2.0 by vikash chandra das
Dot Net Fundamentals
02 intro to programming in .net (part 2)
Common language runtime clr
Life as an asp.net programmer
Introduction to vb.net
Vb ch 2-introduction_to_.net
01 intro to programming in .net
Dotnet basics
Introduction to .net framework
ASP.NET 01 - Introduction
Ad

Similar to SynapseIndia dotnet web development architecture module (20)

PPTX
.Net Framework
PPT
Introduction to ,NET Framework
PPTX
Session2 (3)
PDF
random-140312045902-phpapp01.pdf
PPT
.Net framework
PPT
PPT
Nakov - .NET Framework Overview - English
PPTX
Introduction to .net
PPT
Microsoft .NET (dotnet) Framework 2003 - 2004 overview and web services…
PPT
Inside .net framework
PPTX
.Net framework
PDF
.NET TECHNOLOGIES
PPT
As Pdotnet
PPT
.Net Session Overview
PPT
.NET Overview
PPT
Introduction To Dotnet
PDF
PPTX
Intro to Microsoft.NET
PPTX
.Net slid
.Net Framework
Introduction to ,NET Framework
Session2 (3)
random-140312045902-phpapp01.pdf
.Net framework
Nakov - .NET Framework Overview - English
Introduction to .net
Microsoft .NET (dotnet) Framework 2003 - 2004 overview and web services…
Inside .net framework
.Net framework
.NET TECHNOLOGIES
As Pdotnet
.Net Session Overview
.NET Overview
Introduction To Dotnet
Intro to Microsoft.NET
.Net slid
Ad

More from Synapseindiappsdevelopment (20)

PPTX
Synapse india elance top in demand in it skills
PPT
SynapseIndia dotnet module development part 1
PPT
SynapseIndia dotnet framework library
PPT
SynapseIndia dotnet development platform overview
PPT
SynapseIndia dotnet development framework
PPT
SynapseIndia dotnet web applications development
PPT
SynapseIndia dotnet website security development
PPT
SynapseIndia mobile build apps management
PPT
SynapseIndia mobile apps deployment framework internal architecture
PPT
SynapseIndia java and .net development
PPT
SynapseIndia dotnet development panel control
PPT
SynapseIndia dotnet development ajax client library
PPT
SynapseIndia php web development
PPT
SynapseIndia mobile apps architecture
PPT
SynapseIndia mobile apps deployment framework architecture
PPT
SynapseIndia mobile apps
PPT
SynapseIndia dotnet development
PPT
SynapseIndia dotnet client library Development
PPT
SynapseIndia creating asp controls programatically development
PPT
SynapseIndia asp.net2.0 ajax Development
Synapse india elance top in demand in it skills
SynapseIndia dotnet module development part 1
SynapseIndia dotnet framework library
SynapseIndia dotnet development platform overview
SynapseIndia dotnet development framework
SynapseIndia dotnet web applications development
SynapseIndia dotnet website security development
SynapseIndia mobile build apps management
SynapseIndia mobile apps deployment framework internal architecture
SynapseIndia java and .net development
SynapseIndia dotnet development panel control
SynapseIndia dotnet development ajax client library
SynapseIndia php web development
SynapseIndia mobile apps architecture
SynapseIndia mobile apps deployment framework architecture
SynapseIndia mobile apps
SynapseIndia dotnet development
SynapseIndia dotnet client library Development
SynapseIndia creating asp controls programatically development
SynapseIndia asp.net2.0 ajax Development

Recently uploaded (20)

PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Spectroscopy.pptx food analysis technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Empathic Computing: Creating Shared Understanding
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
A Presentation on Artificial Intelligence
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Getting Started with Data Integration: FME Form 101
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
A comparative analysis of optical character recognition models for extracting...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Spectroscopy.pptx food analysis technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Empathic Computing: Creating Shared Understanding
Advanced methodologies resolving dimensionality complications for autism neur...
Per capita expenditure prediction using model stacking based on satellite ima...
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Network Security Unit 5.pdf for BCA BBA.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
A Presentation on Artificial Intelligence
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Programs and apps: productivity, graphics, security and other tools
Getting Started with Data Integration: FME Form 101
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

SynapseIndia dotnet web development architecture module

  • 1. Architecture Explained (cont’d)  Object Model  Conceptual basis for everything in .NET  Common Language Runtime  Basic set of mechanisms for executing .NET programs regardless of language of origin
  • 2. .NET Framework Windows FormsWindows FormsWindows FormsWindows FormsASP.NETASP.NETASP.NETASP.NET Web Services ASP.NET Application Services Web Forms ControlsControls Drawing Windows Application Services Framework Class LibraryFramework Class LibraryFramework Class LibraryFramework Class Library ADO.NET Network XML Security Threading Diagnostics IO Etc. Common Language RuntimeCommon Language RuntimeCommon Language RuntimeCommon Language Runtime Memory Management Common Type System Lifecycle Monitoring
  • 3. Framework Class Library  The FCL is a hierarchical class library that can be utilized across multiple languages and platforms.  Contains reusable classes, interfaces, and components that can be used for:  Developing components and Web Services.  Developing Windows Forms applications.  Developing Web Forms applications.  Working with Directory Services, Event Logs, Processes, Message Queues, and Timers.  Creating and managing threads.  Managing application security.  Key features and benefits  Cross-Language Interoperability  Consistent and Unified Programming Model  Object-Oriented and Extensible Class Library
  • 4. Common Language Runtime  The CLR is at the core of the .NET platform - the execution engine. A unifying framework for designing, developing, deploying, and executing distributed components and applications.  Loads and runs code written in any runtime-aware programming language (approx. 22 as of now).  Manages memory, thread execution, type safety verification and garbage collection.  Performs compilation (Just In-time Compiler)  Makes use of a new common type system capable of expressing the semantics of most modern programming languages. The common type system defines a standard set of types and rules for creating new types.  Inheritance/Reference NOT dependent on source language
  • 5. MSIL and JIT Compilation  Source code is compiled into MSIL (Microsoft Intermediate Language). Similar to Java bytecode.  MSIL allows for runtime type-safety and security, as well as portable execution platforms (all Windows). MSIL code cannot play tricks with pointers or illegal type conversions.  The MSIL architecture results in apps that run in one address space - thus much less OS overhead.  Compilers also produce “metadata”:  Definitions of each type in your code.  Signatures of each type’s members.  Members that your code references.  Other runtime data for the CLR.  Metadata along with the MSIL enables code to be self-describing - no need for separate type libraries, IDL, or registry entries.  When code is executed by the CLR, a JIT compilation step occurs. Code is compiled method-by-method to native machine code.
  • 6. Packaging: Modules, Types, Assemblies, and the Manifest AssemblyAssemblyAssemblyAssembly ManifestManifest ModuleModule MetadataMetadata MSILMSIL TypeType TypeTypeTypeType
  • 7. Packaging: Modules, Types, Assemblies, and the Manifest  A “module” refers to a binary, such as an EXE or DLL.  Modules contain definitions of types, such as classes, interfaces, structures, and enumerations.  An assembly contains a “manifest”, which is a catalog of component metadata containing:  Assembly name.  Version (major, minor, revision, build).  Assembly file list - all files “contained” in the assembly.  Type references - mapping the managed types included in the assembly with the files that contain them.  Scope - private or shared.  Referenced assemblies.  No MSIL code can be executed unless there is a manifest associated with it.
  • 8. Packaging: Modules, Types, Assemblies, and the Manifest  An assembly can be defined as one or more modules that make up a unit of functionality. Assemblies also can “contain” other files that make up an application, such as bitmaps and resource files.  An assembly is not a physical file.  An assembly is the fundamental unit of deployment, version control, activation scoping, and security permissions.  Two types of assemblies:  Private - Usually deployed in the same directory as the client application and used only by a single application.  Shared - Used by any application and usually installed in a special Global Assembly Cache.
  • 9. .NET Component Model  Offers developers an component model directly based on OO.  Removes distinction between a program element and a software component. Thus it provides significant benefits over technologies like CORBA and COM.  .Net gets rid of the IDL - we can use a .Net assembly directly as a component.  Uses interface documentation already present in the source code. Compliers for .Net supported languages retain this information as metadata - self documented components.  Metadata is also available in XML format, any application whether it is a part of .NET or not can obtain information about components.
  • 10. Microsoft C#  A modern, object-oriented programming language built from the ground up to exploit the power of XML-based Web services on the .NET platform.  The main design goal of C# was simplicity rather than pure power.  Features of C# Simplicity Type Safety Consistency Version Control Modernity Compatibility Object Orientation Flexibility
  • 11. .NET security  The .NET Security Framework Architecture consists of the following five core elements:  Evidence Based Security - At runtime, the CLR determines permission requests by evaluating the assembly’s evidence.  Code Access Security - allows code to be trusted to varying degrees, depending on where the code originates and on other aspects of the code's identity.  Verification - during JIT, the CLR ensures memory type safety.  Role Based Security - .NET applications can make authorization decisions based on identity and role membership.  Cryptography - The .NET Framework provides Random Number Generation and other Cryptographic services.
  • 12. Conclusion  .Net creates a new concept, “the Internet Operating System”.  .Net allows cross-platform development to an extent not before possible.  .Net web services can be integrated into existing distributed object technologies today by replacing their RPC wire protocol with SOAP .  Large-scale distributed application development and deployment become possible on a level that presents major difficulties today.  Stricter versioning policies help to ensure greater stability during upgrades, even in shared libraries.  "Software as a service" - a subscription model for application deployment - becomes a feasible option.