SlideShare une entreprise Scribd logo
1  sur  17
.Net Assemblies By: Muhammad Kamran Rafi Kami_khan0597@yahoo.com
Fundamental unit of deployment, version control, reuse, security permission for a .net based application. Logical unit of distribution Take form of .dll or .exe file  Building block of .Net based Application Can consist of Single File or Multiple Files called modules A module may be generated from different languages. .Net Assembly
 Assemblies are self-describing.  Version dependencies are recorded inside assembly manifest.  Assemblies can be loaded side-by-side.  Installation can be as easy as copying the files that belong to an assembly. Assemblies can be private or shared. Features of Assemblies
Assembly Metadata Type Metadata CIL Code Resources Assembly Structure
Assembly Name Version Information Culture Strong Name Information List of files that make up an assembly Type Reference Information Referenced Assembly Information Assembly Metadata/Manifest
Contains information about the types declared and used in assembly. Classes, interfaces, structs, events , indexers that are used. All information about types i.e. methods, attributes, propertied. Type Metadata
JIT complier gets everything it needs from compiler Used in garbage collection Process .Net provides classes to read metadata      (Reflection API) Features of Metadata
Assembly Contents pictorial view
Code emitted by an appropriate .net language compiler e.g. csc (C# Compiler). MSIL is shipped in portable executable (PE) units. Later JIT compiled to Native Code. Full IL code can be compiled to Native Code using NGEN.exe CIL/MSIL Code
Non-executable data that is part of application  e.g. images, sounds, videos etc. Resources
.NET program execution model (revisited)
Private Assembly (placed in application’s execution directory) Shared Assembly (placed in GAC) Types of Assembly
[object Object]
Located in OS directory
In Windows XP located atC:indowsssembly ,[object Object]
Shared by all .Net apps on that machine
Multiple versions of an assembly can live side by sideGAC

Contenu connexe

Tendances

.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
Doncho Minkov
 
Singleton design pattern
Singleton design patternSingleton design pattern
Singleton design pattern
11prasoon
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
Svetlin Nakov
 
Java: The Complete Reference, Eleventh Edition
Java: The Complete Reference, Eleventh EditionJava: The Complete Reference, Eleventh Edition
Java: The Complete Reference, Eleventh Edition
moxuji
 
Java exception handling
Java exception handlingJava exception handling
Java exception handling
BHUVIJAYAVELU
 

Tendances (20)

Importance of msil in dot net
Importance of msil in dot netImportance of msil in dot net
Importance of msil in dot net
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
 
C# Private assembly
C# Private assemblyC# Private assembly
C# Private assembly
 
Abstract class
Abstract classAbstract class
Abstract class
 
Core java
Core javaCore java
Core java
 
Java architecture
Java architectureJava architecture
Java architecture
 
Singleton design pattern
Singleton design patternSingleton design pattern
Singleton design pattern
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
 
Event Handling in java
Event Handling in javaEvent Handling in java
Event Handling in java
 
.net CLR
.net CLR.net CLR
.net CLR
 
Java: The Complete Reference, Eleventh Edition
Java: The Complete Reference, Eleventh EditionJava: The Complete Reference, Eleventh Edition
Java: The Complete Reference, Eleventh Edition
 
Java threads
Java threadsJava threads
Java threads
 
Exception Handling in C#
Exception Handling in C#Exception Handling in C#
Exception Handling in C#
 
Java exception handling
Java exception handlingJava exception handling
Java exception handling
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 
Components of .NET Framework
Components of .NET FrameworkComponents of .NET Framework
Components of .NET Framework
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Introduction to C# Programming
Introduction to C# ProgrammingIntroduction to C# Programming
Introduction to C# Programming
 
C#.NET
C#.NETC#.NET
C#.NET
 
Java/Servlet/JSP/JDBC
Java/Servlet/JSP/JDBCJava/Servlet/JSP/JDBC
Java/Servlet/JSP/JDBC
 

Similaire à .Net Assemblies

.Net framework interview questions
.Net framework interview questions.Net framework interview questions
.Net framework interview questions
Mir Majid
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
Faisal Aziz
 
.NET TECHNOLOGIES
.NET TECHNOLOGIES.NET TECHNOLOGIES
.NET TECHNOLOGIES
Prof Ansari
 

Similaire à .Net Assemblies (20)

Assembly
AssemblyAssembly
Assembly
 
.Net framework interview questions
.Net framework interview questions.Net framework interview questions
.Net framework interview questions
 
.Net assembly
.Net assembly.Net assembly
.Net assembly
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
 
assemblies and its types in the computer system
assemblies and its types in the computer systemassemblies and its types in the computer system
assemblies and its types in the computer system
 
.Net Session Overview
.Net Session Overview.Net Session Overview
.Net Session Overview
 
SynapseIndia dotnet web development architecture module
SynapseIndia dotnet web development architecture moduleSynapseIndia dotnet web development architecture module
SynapseIndia dotnet web development architecture module
 
Chapter 1 introduction to .net
Chapter 1 introduction to .netChapter 1 introduction to .net
Chapter 1 introduction to .net
 
C Sharp Jn
C Sharp JnC Sharp Jn
C Sharp Jn
 
C Sharp Jn
C Sharp JnC Sharp Jn
C Sharp Jn
 
Secrets of .NET Assemblies and Memory Management
Secrets of .NET Assemblies and Memory ManagementSecrets of .NET Assemblies and Memory Management
Secrets of .NET Assemblies and Memory Management
 
.NET TECHNOLOGIES
.NET TECHNOLOGIES.NET TECHNOLOGIES
.NET TECHNOLOGIES
 
.Net Framework
.Net Framework.Net Framework
.Net Framework
 
.Net platform an understanding
.Net platform an understanding.Net platform an understanding
.Net platform an understanding
 
Interview Question of Aspdotnet
Interview Question of AspdotnetInterview Question of Aspdotnet
Interview Question of Aspdotnet
 
SynapseIndia dotnet development platform overview
SynapseIndia  dotnet development platform overviewSynapseIndia  dotnet development platform overview
SynapseIndia dotnet development platform overview
 
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
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
 
Net Interview questions
Net Interview questionsNet Interview questions
Net Interview questions
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
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
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

.Net Assemblies

  • 1. .Net Assemblies By: Muhammad Kamran Rafi Kami_khan0597@yahoo.com
  • 2. Fundamental unit of deployment, version control, reuse, security permission for a .net based application. Logical unit of distribution Take form of .dll or .exe file Building block of .Net based Application Can consist of Single File or Multiple Files called modules A module may be generated from different languages. .Net Assembly
  • 3. Assemblies are self-describing. Version dependencies are recorded inside assembly manifest. Assemblies can be loaded side-by-side. Installation can be as easy as copying the files that belong to an assembly. Assemblies can be private or shared. Features of Assemblies
  • 4. Assembly Metadata Type Metadata CIL Code Resources Assembly Structure
  • 5. Assembly Name Version Information Culture Strong Name Information List of files that make up an assembly Type Reference Information Referenced Assembly Information Assembly Metadata/Manifest
  • 6. Contains information about the types declared and used in assembly. Classes, interfaces, structs, events , indexers that are used. All information about types i.e. methods, attributes, propertied. Type Metadata
  • 7. JIT complier gets everything it needs from compiler Used in garbage collection Process .Net provides classes to read metadata (Reflection API) Features of Metadata
  • 9. Code emitted by an appropriate .net language compiler e.g. csc (C# Compiler). MSIL is shipped in portable executable (PE) units. Later JIT compiled to Native Code. Full IL code can be compiled to Native Code using NGEN.exe CIL/MSIL Code
  • 10. Non-executable data that is part of application e.g. images, sounds, videos etc. Resources
  • 11. .NET program execution model (revisited)
  • 12. Private Assembly (placed in application’s execution directory) Shared Assembly (placed in GAC) Types of Assembly
  • 13.
  • 14. Located in OS directory
  • 15.
  • 16. Shared by all .Net apps on that machine
  • 17. Multiple versions of an assembly can live side by sideGAC

Notes de l'éditeur

  1. Go to File > Open > Select your Assembly File and Open