~/talk

Let's Talk HTTP in .NET Core

Talkat .NET Summit 2019 · on Saturday, 2019-06-08· [web-platform, devops-and-delivery]
slides:none on file

Explains that IHttpClientFactory (built into .NET Core 2.1) centralizes configuration, gives named and typed clients, and refreshes handler chains by default every two minutes to avoid stale DNS while preventing socket exhaustion caused by creating/disposing HttpClient (Windows TIME_WAIT ≈ 240s, ~16k ephemeral ports). Shows how to attach delegating handlers, wire Polly policies for retries/timeouts/circuit-breakers, use streaming JSON to avoid large string allocations, and notes the new managed SocketsHttpHandler and HTTP/2 gRPC support.

AI-written summary · about

  1. 0:00Introduction
  2. 0:54Agenda
  3. 2:10Code
  4. 2:49HTTP Client
  5. 5:37HTTP Client Demo
  6. 5:55HTTP Client Reuse
  7. 6:45Register HTTP Client
  8. 7:38Downside of HTTP
  9. 8:36HTTP Client Factory
  10. 10:57HTTP Client Refresh
  11. 11:51Named Clients
  12. 12:20Named Client
  13. 14:02Type 2 Clients
  14. 17:14outgoing middleware
  15. 17:32handler chain
  16. 17:44other handlers
  17. 18:36Handlers
  18. 19:37HTTP Client Instance
  19. 20:14Poly
  20. 22:09Handling Response Content
  21. 23:18Handling Errors
  22. 23:57Cancellation
  23. 25:13When
  24. 28:10Sockets HTTP Handler
  25. 29:34NET Core 30
  26. 31:49Summary
  27. 33:06Thank you
  28. 33:20Questions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.