~/talk

Our favorite things in .NET 8

Talkat NDC Sydney 2024 · 2024-02-12..02-16· [dotnet]
slides:none on file

A fast tour of concrete .NET 8 changes: C# adds primary constructors and smarter target-typed collection inference that lets the compiler create the most efficient concrete or stackalloc-backed type; a new time provider API lets tests advance time deterministically; a data-aware server GC mode dynamically shrinks heaps so web APIs drop memory use from gigabytes to a few hundred MB under light load; unsafe accessor attributes let generated code access private fields even with trimming/AOT; native container publish and MSBuild JSON output produce images without Docker.

AI-written summary · about

  1. 0:00Introduction to .NET 8
  2. 1:54Primary constructors in C# 12
  3. 8:22Collection expressions and target typing
  4. 15:22Default lambda parameters in C# 12
  5. 18:10Garbage collection adaptation mode
  6. 21:40Unsafe accessors for reflection
  7. 26:20Time provider for testing
  8. 31:00Random class shuffle and get items
  9. 33:04Frozen collections for lookups
  10. 34:29Composite format for strings
  11. 39:16Search values for text
  12. 43:27UTF-8 span formatting
  13. 45:34Keyed services in DI
  14. 50:07Source generation for config
  15. 53:00Enhanced IHostedLifecycleService
  16. 55:06MSBuild JSON output and containers
  17. 59:51Debugging visualizers in .NET 8
  18. 1:01:57Form binding in ASP.NET Core
~/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.