~/talk

.NET6 app hosting architecture for Kubernetes

Talkat DevDays Europe 2022 · 2022-04-27..04-28· [kubernetes]
slides:none on file

Practical guide to hosting .NET6 on Kubernetes: explains the new WebApplicationBuilder and why Run lacks an external cancellation token, details the three probes (startup probe, liveness probe, readiness probe), shows a working pattern using a pre-stop hook with a 5s sleep, an active request middleware with an interlocked counter and a hosted graceful-shutdown task that polls (four times per second) until zero active requests, and points to live code in the GitHub repo k8s hosting.

AI-written summary · about

  1. 0:00Welcome
  2. 0:49Introduction to .NET6 hosting
  3. 2:35.NET6 hosting API changes
  4. 5:33Kubernetes probes for health
  5. 8:43Slow startup in ASP.NET Core
  6. 10:50Graceful shutdown in pods
  7. 15:21Pre-stop hooks and draining
  8. 16:48Active request tracking
  9. 19:38Standardized Kubernetes pipeline
  10. 22:10Live demo of .NET6 service
  11. 26:25Q&A on hosting
  12. 32:02Closing remarks
~/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.