~/talk

ASP NET Core Beyond the Introductino

Talkat NDC Oslo 2021 · 2021-11-29..12-03· [dotnet, web-platform]
links:none on file
slides:none on file

Shows working code for URL rewriting via a custom middleware that reads and writes HttpContext.Request.Path and even swaps Response.Body into a memory stream to rewrite links on the way out, packaged as name routing middleware with an extension method for cleaner Startup.cs. Demonstrates a DB-backed model binder and provider (with the caveat that DB access in binders is dangerous), adds XML and content-negotiation versioning with a custom Accept header output formatter selector, runs background image resizing via IHostedService, and installs a machine-level runtime store plus hosting startup to inject a diagnostics middleware; demos work but some approaches (memory streams + regex + per-user loops) are intentionally slow.

AI-written summary · about

  1. 0:00Start
  2. 1:21Demos
  3. 3:47Inline Middlewares
  4. 5:55Custom Middleware
  5. 16:52Error Error Handling Middleware
  6. 26:13Output Formatter Selector
  7. 31:08User Model Binder
  8. 33:15Model Binder Provider
  9. 43:44Deploying to Servers
  10. 46:45Add Skip Optimization
  11. 49:23Environment Variable
  12. 52:38Diagnostic Startup Filter
  13. 53:35Diagnostics Hosting Startup
  14. 55:55Depth Json
  15. 58:13Adding Generic Diagnostic to System
~/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.