What is an Assembly ?

An assembly contains code in an intermediate format called Microsoft Intermediate Language (MSIL) and it generates from a compiler like Visual Studio.

All compilers for .NET Framework generate code in this format, regardless of the programming language that was used to write an application. This enables the CLR to run code in the same way, regardless of the language that the developer used.

Assemblies are the building blocks of NET. Framework applications; they form the fundamental unit of deployment, version control, reuse and security. An assembly can be of two types: an executable code that other programs can reuse. By using a library, developers can modularize the development of their applications into logical components.

Assembly Singning

Assembly signing is an important step that developers should include in their build process because it provides the following benefits:

  • It protects assemblies from modification.
  • It enables you to include the signed assembly in the global assembly cache (GAC) , so you can share the assembly with multiple applications.
  • It guarantees that the name of the assembly is unique.
  • To sign your assembly, you can use the Sign Tool that provided with the .NET Framework, or you can use the assembly- signing functionality in Visual Studio.
Assembly Versioning
Assembly Version information is stored in the assembly manifest and is used with the assembly name and culture to derive the assembly’s identity. An assembly version number consists of the following:
  • Major version number
  • Minor version number
  • Build number
  • Revision number
    Advertisements
    1. No comments yet.
    1. July 2, 2014 at 11:19 pm

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s

    %d bloggers like this: