~/talk

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

Talkat NDC London 2024 · 2024-01-29..02-02· [dotnet]
slides:none on file

.NET 8 is the new LTS (36 months support) with broad performance work—allocations and hot paths optimized, native AOT now possible (example binaries drop from ~100MB to ~20MB), System.Text.Json adds required members, object‑creation handling and streaming IAsyncEnumerable deserialization, and ASP.NET Core gains HTTP/3, rate limiting, short‑circuit routes and keyed services for minimal APIs. C# 12 brings collection expressions and the spread operator, primary constructors for classes/records, a TimeProvider abstraction with a FakeTimeProvider for deterministic tests, Random.Shared, interceptors for source generators, and several small lambda/typing conveniences.

AI-written summary · about

  1. 0:00Welcome
  2. 1:53Upgrade from .NET Framework
  3. 3:40Key .NET 8 improvements
  4. 8:58Zero-allocation with Span
  5. 13:36Native AOT benefits
  6. 14:58Frozen collections
  7. 15:40System.Text.Json improvements
  8. 19:38Async enumerables in HTTP
  9. 21:45Polymorphic JSON serialization
  10. 22:06Time abstraction for testing
  11. 26:39Randomness helpers
  12. 27:22ASP.NET Core updates
  13. 28:24Keyed services
  14. 30:09Rate limiting in ASP.NET Core
  15. 34:29Blazor updates
  16. 35:11.NET MAUI improvements
  17. 37:04C# 12 collection expressions
  18. 40:11Primary constructors in C# 12
  19. 45:31C# 12 interceptors
  20. 51:04Performance and future
  21. 56:42Q&A
~/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.