~/talk

ASP.NET Core's Built-in Dependency Injection Framework

Talkat TechBash 2018 · 2018-10-02..10-05· [dotnet]
slides:none on file

Covers ASP.NET Core’s built‑in DI with concrete details: explains singleton scoped transient lifetimes, shows thread‑safe RequestIDFactory registered as a singleton producing incrementing IDs while RequestID is scoped per HTTP request, and the demo proves IDs persist across tabs and increment correctly. Shows how to hook Autofac (RegisterType and lifetime chaining) and StructureMap, and warns Ninject requires the community “missing DI extensions” workarounds and won’t cleanly inject into views.

AI-written summary · about

  1. 0:00Start
  2. 1:07Summary
  3. 3:40What is Dependency Injection?
  4. 3:52OK, So What's Inversion of Control?
  5. 5:45What's the Big Deal?
  6. 9:10Dependency Injection Saves the Day
  7. 12:50Benefits of Dependency Injection
  8. 15:41Lifetime Management
  9. 18:55Startup Configuration
  10. 21:38Injecting Into Controllers
  11. 23:06Injecting Into Middleware
  12. 26:33Built-In Services Available
  13. 43:12What About Ninject?
~/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.