assembly
The compiled unit of a .NET program: a file (usually a .dll) containing intermediate language plus metadata describing every type inside it.
In more detail
An assembly is portable across operating systems and processors because it holds intermediate language, not machine code. An application's output is an assembly, and so is every library it references.
Related terms
- DLL — A dynamic-link library: a file of compiled code, named with the .dll extension, that programs load at run time.
- IL — The processor-independent instruction set that .NET compilers produce, stored in assemblies and turned into machine code by the JIT when the program runs.
- metadata — Data that describes other data, such as a file name, a creation time or a package version.
- reference assemblies — Assemblies containing only the public API shape of a framework version, used by the compiler to decide which APIs your code may call.
Taught in
- What is .NET? Runtime vs SDK, and LTS vs STS — Modern .NET Core, C# & Enterprise Microservices
- Solutions, Projects, and Target Frameworks — Modern .NET Core, C# & Enterprise Microservices
- The Dependency Injection Container: Scopes and Lifetimes — Modern .NET Core, C# & Enterprise Microservices