site image
Andrew Lock avatar

Andrew Lock

ASP.NET Core
  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 Why is string.GetHashCode() different each time I run my program in .NET Core?

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

     in  ASP.NET Core .NET Core C#
  5. Banner image for Secure secrets storage for ASP.NET Core with AWS Secrets Manager (Part 2)

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

     in  ASP.NET Core Security Configuration AWS
  6. Banner image for Secure secrets storage for ASP.NET Core with AWS Secrets Manager (Part 1)

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

     in  ASP.NET Core Security Configuration AWS
  7. Banner image for Caching Docker layers on serverless build hosts with multi-stage builds, --target, and --cache-from

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

     in  ASP.NET Core Docker AWS DevOps
  8. Banner image for Creating singleton named options with IOptionsMonitor

    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…

  9. Banner image for Simplifying dependency injection for IConfigureOptions with the ConfigureOptions() helper

    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…

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