~/talk

Future Proof with ASP.NET Core API Versioning

Talkat NDC Copenhagen 2025 · 2025-09-08..09-12· [api-design, dotnet]
links:none on file
slides:none on file

Shows how to version ASP.NET Core APIs using the open-source Asp.Versioning library, with concrete code paths: install the NuGet, call addApiVersioning, and decorate controllers with [ApiVersion]. Demonstrates four version readers—URL segment, query string, API-version header, and media-type—how to combine them, how to report supported/deprecated versions via response headers, and how to publish sunset policies. Recommends semantic versioning, header-first strategy, and defaulting unspecified requests to 1.0 for brownfield migrations.

AI-written summary · about

  1. 0:00Future-proofing APIs
  2. 1:09Why versioning matters
  3. 3:14API versioning basics
  4. 5:45ASP.NET Core versioning libraries
  5. 8:16Four versioning strategies
  6. 13:36Configuring versioning in startup
  7. 17:50Versioning controllers and actions
  8. 23:34Version-neutral endpoints
  9. 25:23Convention-based versioning
  10. 28:16Accessing API version in code
  11. 30:04Handling missing versions
  12. 33:16Default API versions
  13. 35:52Multiple version readers
  14. 36:14Advertising API versions
  15. 37:35OPTIONS for versions
  16. 38:37Deprecating API versions
  17. 41:09Versioning best practices
  18. 44:43Communicating with consumers
  19. 47:08Next steps for versioning
  20. 48:54Q&A: Unchanged endpoints
  21. 53:32Q&A: Upgrade paths
~/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.