Thursday, September 4, 2008

Assembly - Metadata - Manifest

An assembly is a file that is automatically generated by the compiler upon successful compilation of every .NET application

Metadata is the complete way of describing what is in a .NET assembly. Digging into the metadata yields the types available in that assembly, viz. classes, interfaces, enums, structs, etc., and their containing namespaces, the name of each type, its visibility/scope, its base class, the interfaces it implemented, its methods and their scope, and each method’s parameters, type’s properties, and so on

Metadata describes the contents in an assembly, whereas the manifest describes the assembly itself. The manifest contains the assembly name, version number, locale and an optional strong name that uniquely identifying the assembly. This manifest information is used by the CLR.

No comments: