Discovering .NET 5
summary
.NET 5 delivers concrete wins: System.Text.Json now handles immutable types and records, drops many serialization gaps and outperforms older libraries; publishing adds true single-file apps, trimming, ready-to-run AOT and a planned static superhost for smaller, faster binaries; WinRT projections (CsWinRT) plus C# function pointers let C# export and consume native components — demo browser and a low‑integrity notepad run successfully; diagnostics improve with dotnet-trace capturing assembly load sequences and Linux/Mac ELF dumps analyzable on Windows.
AI-written summary · about
