Slides for my video on how .NET Standard works under the covers.
https://www.youtube.com/watch?v=vg6nR7hS2lI&t=13s&list=PLRAdsfhKI4OWx321A_pr-7HhRNk7wOLLY&index=4
2. .NET Standard is represented by
• The NuGet package NetStandard.Library which contains
• The reference assembly netstandard.dll
At build time
• .NET Standard bridges references to existing .NET Framework and PCL
assemblies via type forwarding
At runtime
• Each platform provides an implementation for netstandard.dll that type
forwards to its implementation
How does .NET Standard work?
3. What can you reference from .NET Standard?
My Standard Library 2.x
.NET Standard Library .NET Framework LibraryPortable Class Library
.NET FRAMEWORK .NET CORE XAMARIN
Via Portability
Via Compatibility Shim
Legend
Application Type
Is able to reference
4. .NET Standard under the hood
TYPE
FORWARDING
netstandard!Object
mscorlib!Object
This happens when you build a .NET Standard-based Library
5. .NET Standard under the hood
TYPE
FORWARDING
This happens when you load .NET Standard-based library