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

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.

Secure secrets storage for ASP.NET Core with AWS Secrets Manager (Part 1)
In this post I show how you can store your ASP.NET Core secrets securely in AWS Secrets Manager and load them into the .NET Core configuration system.…

Caching Docker layers on serverless build hosts with multi-stage builds, --target, and --cache-from
In this post I describe how I improved the build performance of ASP.NET Core Docker containers built using AWS CodeBuild by using --target and --cache-from.…

Creating singleton named options with IOptionsMonitor
In this post I introduce the IOptionsMonitor interface, and show how you can use it in place of IOptionsSnapshot to create Singleton named options…

Simplifying dependency injection for IConfigureOptions with the ConfigureOptions() helper
In this post I show how to use ConfigureOptions() to automatically register all the IConfigureOptions interfaces implemented by a type with the DI container…

Delaying strongly-typed options configuration using PostConfigure in ASP.NET Core
In this post I show how to use PostConfigure() with strongly-typed options to run configuration actions after all other Configure() actions are applied.…

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()…

