What's Inside: A .NET assembly! (and how does Hot Reload change it?)
summary
A .NET DLL is literally a compact relational database of metadata tables and IL, where metadata tokens pack table+row into four bytes and IL opcodes carry those tokens instead of addresses. The IDE and Roslyn produce delta compilations (generations) that contain only changed method defs and portable PDB debug tables; the runtime applies them by reading ENC log/map entries that remap token IDs so the DLL file itself never changes. Demos use ILSpy, MDV and Roslyn; adding methods yields new generation logs and missing‑method exceptions when old tokens remain.
AI-written summary · about
chapters (11)
- 0:00Welcome to .NET assemblies
- 1:26Metadata tables
- 10:18Why metadata matters
- 11:41What assemblies lack
- 15:10Hot Reload changes assemblies
- 23:18Demo: Hot Reload with MDV
- 32:27Hot Reload and C# features
- 38:42Debugging state machines
- 40:29Live Hot Reload demo
- 49:21Hot Reload vs dotnet watch
- 53:36Q&A
related talks
48mILPack: saving assemblies to disk
56mHow To "Dot" Into Anything, Anywhere, Anytime (Facilitating Data-First Programming)
52mCode that writes code - .NET Source generators
55mCode that writes code - .NET Source generators
57mDon’t need to understand the details of .NET. Until you do
01h 09mBlazor Wasm Hot Reload Explained: Real-Time Dev with Rider
04mHot Reload for C++
53mTools and practices to help you deal with legacy code
