site image
Andrew Lock avatar

Andrew Lock

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

    30% off with code ANDREW30 on Dometrain Pro
  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 contextual options with Microsoft.Extensions.Options.Contextual

    Configuring contextual options with Microsoft.Extensions.Options.Contextual

    In this post I take a brief look at the Microsoft.Extensions.Options.Contextual package to understand what it's for, how to use it, and whether to use it or not…

     in  Configuration.NET Core
  5. Banner image for Creating an analyzer to detect infinite loops caused by ThreadAbortExceptions

    Creating an analyzer to detect infinite loops caused by ThreadAbortExceptions

    In this post I describe a Roslyn Analyzer I created to detect code that can result in infinite loops if a ThreadAbortException is raised…

     in  HostingConfiguration
  6. Banner image for Disabling localized satellite assemblies during dotnet publish

    Disabling localized satellite assemblies during dotnet publish

    In this post I show how to reduce the size of the publish output for .NET apps by preventing the publishing of localization resources when they're not needed…

     in  HostingConfiguration
  7. Banner image for Setting application environment variables in IIS without restarts

    Setting application environment variables in IIS without restarts

    In this post I outline how IIS works, describe how to add environment variables to app pools, and show how to prevent automatic app pool recycling on changes…

     in  HostingConfiguration
  8. Banner image for Using the YamlDotNet source generator for Native AOT

    Using the YamlDotNet source generator for Native AOT

    In this post I show how you can use the YamlDotNet source generator to do strongly-typed serialization and deserialization, even in Native AOT apps…

  9. Banner image for 8 ways to set the URLs for an ASP.NET Core app

    8 ways to set the URLs for an ASP.NET Core app

    In this post I describe 8 different ways to set which URLs your ASP.NET Core application listens on.…

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