site image
Andrew Lock avatar

Andrew Lock

Dependency Injection
  1. Loading...
  2. Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!

    From Zero to Hero: REST APIs in .NET
  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 Exploring the code behind IHttpClientFactory in depth

    Exploring the code behind IHttpClientFactory in depth

    In this post I look in depth at the code behind the default implementation of IHttpClientFactory and see how it manages HttpClient handler lifetimes.…

  5. Banner image for Avoiding Startup service injection in ASP.NET Core 3

    Avoiding Startup service injection in ASP.NET Core 3

    Upgrading to ASP.NET Core 3.0 - Part 3

    In this post I describe the changes to dependency injection in your Startup class when upgrading an ASP.NET Core 2.x app to .NET Core 3.0.…

  6. Banner image for Running async tasks on app startup in ASP.NET Core 3.0

    Running async tasks on app startup in ASP.NET Core 3.0

    Exploring ASP.NET Core 3.0 - Part 4

    In this post I describe how a small change in the ASP.NET Core 3.0 WebHost makes it easier to run asynchronous tasks on app startup using IHostedService…

  7. Banner image for New in ASP.NET Core 3: Service provider validation

    New in ASP.NET Core 3: Service provider validation

    Exploring ASP.NET Core 3.0 - Part 3

    In this post I describe the ValidateOnBuild feature that is new to .NET Core 3.0. I also show five gotchas to look out for that the DI validator will miss.…

  8. Banner image for Using scoped services inside a Quartz.NET hosted service with ASP.NET Core

    Using scoped services inside a Quartz.NET hosted service with ASP.NET Core

    In this post I describe how to run Quartz.NET jobs using an ASP.NET Core hosted service, and how to handle scoped services inside singleton jobs.…

     in  ASP.NET Core Dependency Injection
  9. Banner image for Creating a Quartz.NET hosted service with ASP.NET Core

    Creating a Quartz.NET hosted service with ASP.NET Core

    In this post I describe how to run Quartz.NET jobs using an ASP.NET Core hosted service, and how to handle scoped services inside singleton jobs.…

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