~/talk

Modern NET Configuration Practices

Talkat Build Stuff 2025 Β· 2025-12-03..12-05Β· [dotnet, devops-and-delivery]
slides:none on file

Code-heavy demos and GitHub samples show modern .NET unifying JSON, env vars, command-line, Azure Key Vault, and Azure App Configuration feature flags into a single IConfiguration; examples demonstrate binding nested objects, IOptions vs IOptionsSnapshot vs IOptionsMonitor (snapshot/monitor reload, IOptions does not), startup validation that fails fast on invalid values, user secrets for local dev, App Configuration refresh via a sentinel, and Aspire local orchestration that injects connection strings and service endpoints so the multi-service demos actually run end-to-end.

AI-written summary Β· about

  1. 0:00πŸš€ Build Stuff Conference – Get Your Tickets!
  2. 0:18Introduction and context: why configuration matters
  3. 2:00The old .NET Framework approach: config files, transforms, and pain
  4. 5:22Binding config to nested objects and hierarchies
  5. 6:18Generic Host defaults and built-in configuration behavior
  6. 11:30Accessing nested config with colon syntax
  7. 17:27Introduction to the options pattern
  8. 18:10IOptions, IOptionsSnapshot, and IOptionsMonitor explained
  9. 28:17Validation with data annotations
  10. 32:34Introduction to Aspire and distributed app orchestration
  11. 36:22Secrets and production guidance: avoid storing credentials in config files
  12. 37:12Managed identity, Key Vault, and Kubernetes secret integrations
  13. 38:05Final thoughts and Q&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.