- 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.

Using dependency injection with Twilio SMS and ASP.NET Core 2.1
In this post, I describe how to create a custom ITwilioRestClient, register it with the DI container, and inject it into an MVC controller.…

Why is string.GetHashCode() different each time I run my program in .NET Core?
In this post I discuss string.GetHashCode(), why it's randomised, and hash-attacks. I also provide a deterministic implementation you can use when it's safe.…

Secure secrets storage for ASP.NET Core with AWS Secrets Manager (Part 2)
In this post I show how to control which secrets are loaded from AWS Secrets Manager when your ASP.NET Core app start.…

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…

