Menu

Assemblies, metadata, manifest, GAC, strong names and versioning (.NET Internals)
πŸ“°

Assemblies, metadata, manifest, GAC, strong names and versioning (.NET Internals)

DEV Community: dotnetΒ·DIVAKAR UPADHYAYΒ·9 days ago
#y8WSKySi
#devtodotnet#devto#dev#assembly#lesson
Long article (287 words) β€” no AI summary yet.
Reading 0:00
15s threshold

πŸ‘‰ Read the full lesson on DevLadder (free, lesson 4 of 11 in the .NET Internals: CLR, CTS, CLS, IL, JIT, Memory Management & Garbage Collection course)

An assembly is the unit of deployment, versioning and security: a .dll or .exe containing:

Part Contains

PE header Windows/OS executable format

CLR header Runtime version, entry point, flags

Metadata Every type, method, field, parameter, attribute and referenced member: what reflection and IntelliSense read

IL code Method bodies

Manifest Assembly identity (name, version , culture, public key token), list of files, referenced assemblies

Resources Embedded files, localised strings

Kinds: private assemblies (in the app folder, the norm today), shared assemblies in the GAC (Global Assembly Cache, .NET Framework only, C:\Windows\Microsoft.NET\assembly ), satellite assemblies (localised resources, fr\MyApp.resources.dll ).

The full lesson goes on to cover: Strong name, AppDomain vs AssemblyLoadContext.

Continue reading the lesson β†’

An interview…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.