site image
Andrew Lock avatar

Andrew Lock

Hosting
  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 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
  5. 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
  6. 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
  7. 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.…

  8. Banner image for Supporting integration tests with WebApplicationFactory in .NET 6

    Supporting integration tests with WebApplicationFactory in .NET 6

    Exploring .NET 6 - Part 6

    In this post I look at the changes that were made to WebApplicationFactory<T> to support minimal hosting APIs with WebApplicationBuilder in .NET 6…

  9. Banner image for Supporting EF Core migrations with WebApplicationBuilder

    Supporting EF Core migrations with WebApplicationBuilder

    Exploring .NET 6 - Part 5

    In this post I describe how HostBuilder had to be updated to support the EF Core tools after the introduction of WebApplication and WebApplicationBuilder…

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