An in-depth look at the new features in C# 8.0 and .NET Core 3.
summary
Live demo shows a console and Windows Forms app running on .NET Core 3 using HostBuilder for console and WinForms, with dependency injection, user secrets, HttpClientFactory and a factory-registered Form that reopens cleanly. C# 8 specifics: nullable reference types as IDE warnings, readonly struct members and static local functions to avoid copies and unsafe captures, and default-interface implementations for trait-like composition and nonbreaking API evolution. Publishing and perf: single-file and self-contained publish, trimming, ReadyToRun + tiered/QuickJIT options. Assembly unloading works via AssemblyLoadContext and diagnostics use dotnet-dump and CLRMD to find leaks (unload requires forced GC cycles).
AI-written summary · about
chapters (28)
- 0:00Intro
- 0:56Raffaele Rialdi
- 1:49Agenda
- 4:27NET Framework is dead
- 6:50Console application
- 8:02SDK Worker
- 17:43Scrolling
- 19:25Synchronous methods
- 20:41Continuously loaded
- 21:45Transliterate
- 22:55Yellow triangle
- 24:29Nullable reference
- 26:12Readonly member
- 29:28Defensive copy
- 30:56Edge cases
- 32:29Static local functions
- 35:35Interfaces with bodies
- 36:51Why versioning matters
- 39:11The good news
- 39:51Reinstruct the default interface body
- 40:21Traits composition
- 42:46Publishing
- 43:29Single file
- 44:25Trimming
- 45:37AUT compilation
- 47:08Application boot compilation
- 50:44Hot bath
- 51:26Load context
related talks
47m.NET Core 3 and C# 8
59mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
01h 00mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
59mWhat's new in .NET 8 & C# 12
01h 04mOur favorite things in .NET 8
43mWhat’s coming in C# 8.0?
58mWhat's new in .NET 8 & C# 12
01h 01mHidden gems in .NET Core 3
