site image
Andrew Lock avatar

Andrew Lock

Dependency Injection
  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  3. ASP.NET Core in Action, Third Edition

    My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

  4. Banner image for Creating a 'pooled' dependency injection lifetime

    Creating a 'pooled' dependency injection lifetime

    In this post I investigate how to create a 'pooled' dependency injection scope that automatically pools services between multiple requests…

  5. Banner image for Going beyond singleton, scoped, and transient lifetimes—tenant, pooled, and drifter

    Going beyond singleton, scoped, and transient lifetimes—tenant, pooled, and drifter

    In this post I investigate some 'experimental' dependency injection scopes that provide additional features over Singleton, Scoped, and Transient…

  6. Banner image for Keyed service dependency injection container support

    Keyed service dependency injection container support

    Exploring the .NET 8 preview - Part 6

    In this post I discuss the new "keyed service" support for the dependency injection container, introduced in .NET 8 preview 7…

  7. Banner image for The dangers and gotchas of using scoped services in OptionsBuilder

    The dangers and gotchas of using scoped services in OptionsBuilder

    In this post I look at the problems you can hit with strongly-typed settings when you inject Scoped services into OptionsBuilder, and how to avoid them…

  8. Banner image for New dependency injection features in .NET 6

    New dependency injection features in .NET 6

    Exploring .NET 6 - Part 10

    In this post I talk about some of the new features added to the DI libraries in .NET 6, as well a performance feature that didn't make it in.…

  9. Banner image for Using Quartz.NET with ASP.NET Core and worker services

    Using Quartz.NET with ASP.NET Core and worker services

    In this post I show how to run Quartz.NET jobs in ASP.NET Core and worker service apps using the Quartz.Extensions.Hosting package…

     in  ASP.NET CoreDependency Injection
Andrew Lock | .Net Escapades
Want an email when
there's new posts?