~/talk

Let's Talk HTTP in .NET Core

Talkat NDC London 2019 · 2019-01-30..02-01· [dotnet, web-platform]
slides:none on file

Demos refactor a naive controller that creates and disposes HttpClient into a working pattern using IHttpClientFactory to avoid socket exhaustion (20 sockets shown going TIME_WAIT), showing named and typed clients, a typed GitHub client class, and configurable handler lifetimes (defaults to two minutes). Adds outgoing middleware via delegating handlers, integrates Polly for retries, timeouts, circuit-breaker and bulkhead, and shows caching and stream-based JSON parsing to avoid large allocations; highlights the faster SocketHttpHandler in .NET Core 2.1.

AI-written summary · about

  1. 0:00Intro
  2. 2:09Agenda
  3. 7:57HTTP Client
  4. 15:53Named Clients
  5. 18:12Type Clients
  6. 21:38Outgoing Middleware
  7. 23:58De delegating handlers
  8. 26:11Poly
  9. 30:10Retry
  10. 33:13Dynamic HTTP Error Policy
  11. 35:44Policy Registry
  12. 36:57Client Handler
  13. 37:59Handling Response Content
  14. 40:05Handling Errors
  15. 41:13Handling Cancellation
  16. 42:34Caching
  17. 45:26Extension Methods
  18. 47:10Correlation IDs
  19. 51:36Summary
  20. 54:08Outro
~/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.