What's new in .NET 8 & C# 12
summary
.NET 8 ships as an LTS release with broad performance wins (Span-based zero-allocation slices, u8 literals, native AOT) and practical ASP.NET Core additions: keyed services, short‑circuit routes, complex binding for minimal APIs, HTTP/3 and an IHHostedLifecycleService. C# 12 brings collection expressions with spread elements, primary constructors, interceptors (source‑gen replacement), optional lambda params and alias any. System.Text.Json adds required/init support and async streaming deserialization that avoids full downloads. TimeProvider and fake test providers make time deterministic; a JSON+primary‑ctor combo currently fails (limitation).
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:50Evolution of .NET & C#
- 3:55Performance in .NET 8
- 9:54Native AOT & memory
- 12:02System.Text.Json in .NET 8
- 19:01Time abstraction
- 23:17ASP.NET Core in .NET 8
- 31:46Blazor & .NET Aspire
- 36:43.NET MAUI intro
- 39:13C# 12 features
- 42:23Collection expressions
- 44:53Primary constructors
- 48:26Interceptors
- 55:57Future of .NET & C#
related talks
59mWhat's new in .NET 8 & C# 12
01h 01mWhat's coming in .NET 8 & C# 12
01h 03mWhat's new in .NET 9 & C# 13
01h 04mOur favorite things in .NET 8
01h 01mWhat's new in .NET 9 & C# 13
01h 01mAn in-depth look at the new features in C# 8.0 and .NET Core 3.
55mLet’s catch up with C#! Exciting new features in C# 9, 10, 11 and 12!
01h 00mWhat's new and coming soon for .NET
