.NET FAQs Unleashed!
 
    
    

What is an assembly in .NET? What is ILDASM?

Assembly - An assembly may be an exe, a dll, an application having an entry point, or a library. It may consist of one or more files. It represents a group of resources, type definitions, and implementation of these types. They may contain references to other assemblies. These resources, types & references are compacted in a block of data called manifest. The manifest is a part of the assembly, which makes it self-describing. Assemblies also increase security of code in .NET. An assembly maybe shared(public) or private. The assembly, overall comprises of 3 entities: IL, Manifest, Metadata. Metadata describes IL, whereas Manifest describes the assembly.

An assembly may be created by building the class(the .vb or .cs file), thereby producing its DLL.

ILDASM - The contents of an assembly may be viewed using the ILDASM tool, that comes with the .NET SDK or the Visual Studio.NET. The ildasm.exe tool may also be used in the command line compiler.

.NET  Languages  Versions  Tools  CLI CTS Metadata CLS IL VES  CLR  Class Library  Managed Class  Assembly ILDASM  Reflection  Assembly Types  Strong Assembly  GAC  GC  IDisposable  Serialization  Code Access Security  Attribute  Thread  Globalization  Generations  COM