site image
Andrew Lock avatar

Andrew Lock

ASP.NET Core 2.1
  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 Configuring named options using IConfigureNamedOptions and ConfigureAll

    Configuring named options using IConfigureNamedOptions and ConfigureAll

    In this post I look at how to configure named options that require injected services and how to configure all named options at once using ConfigureAll()…

  5. Banner image for The dangers and gotchas of using scoped services in IConfigureOptions

    The dangers and gotchas of using scoped services in IConfigureOptions

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

  6. Banner image for Using multiple instances of strongly-typed settings with named options in .NET Core 2.x

    Using multiple instances of strongly-typed settings with named options in .NET Core 2.x

    In this post I describe how you can register multiple instances of a strongly-typed settings object in the ASP.NET Core DI container using named options.…

  7. Banner image for Adding Serilog to the ASP.NET Core Generic Host

    Adding Serilog to the ASP.NET Core Generic Host

    In this post I introduce the Serilog.Extensions.Hosting package, discuss why it's necessary, and describe how to use it to add Serilog to a generic host app…

  8. Banner image for The ASP.NET Core Generic Host: namespace clashes and extension methods

    The ASP.NET Core Generic Host: namespace clashes and extension methods

    In this post I discuss the generic host introduced in ASP.NET Core 2.1, and how its different namespace can cause problems for existing code.…

  9. Banner image for Suppressing the startup and shutdown messages in ASP.NET Core

    Suppressing the startup and shutdown messages in ASP.NET Core

    In this post I show how to disable the startup messages shown in the console when you run an ASP.NET Core application using WebHostBuilder or HostBuilder.…

Andrew Lock | .Net Escapades
Want an email when
there's new posts?