Email: Password:       Forgot Password 
A Saarsha Group Online Community for dot net codes group like C#, Asp.NET, VB.NET, Sharepoint, JavaScript, JQuery, Ajax, SQL, WCF, WPF.
Structure of an Assembly

Posted On: 16/11/2013 23:39:47
The following is the content of an assembly. Each assembly contains first three parts. Fourth part may not be present in all assemblies. It is used primarily for localization - using resources according to the country or region.
  1. Assembly Metadata or Manifest
  2. Type Metadata
  3. MSIL Code
  4. Resources
1. Assembly Metadata or Manifest

    This contains information about the assembly. Remember, assemblies in .NET are self-
    describing. They contain all the information that .NET needs to use them. Assembly
    metadata contains the following details of an assembly:

    Assembly name
    Version number of the assembly, which has four numbers in the format

    Culture - language assembly supports

    Strong name - required only for global assemblies

    List of files in the assembly. An assembly can be made up of multiple files

    Type reference information - informs which type is in which file of the assembly

    Information about referenced assemblies - Contains list of other assemblies referenced
    by this assembly. For each assembly referenced we have assembly name, version, culture
    and public key (if assembly is a global assembly)

2. Type metadata
    This section of an assembly contains information about all classes, structure etc. created in       the assembly.

3. MSIL Code
    MSIL code of the assembly is placed in third part of the assembly. This MSIL is converted to     native code by CLR at runtime.

4. Resource
    This section contains messages and pictures used by assembly.
         HOME   |   Submit Article   |   Contact Us   |   About Us   |   Terms & Condition   |   Advertise With us