~/talk

What's new in .NET 8 & C# 12

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [dotnet]
slides:none on file

.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

  1. 0:00Introduction
  2. 1:50Evolution of .NET & C#
  3. 3:55Performance in .NET 8
  4. 9:54Native AOT & memory
  5. 12:02System.Text.Json in .NET 8
  6. 19:01Time abstraction
  7. 23:17ASP.NET Core in .NET 8
  8. 31:46Blazor & .NET Aspire
  9. 36:43.NET MAUI intro
  10. 39:13C# 12 features
  11. 42:23Collection expressions
  12. 44:53Primary constructors
  13. 48:26Interceptors
  14. 55:57Future of .NET & C#
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.