site image
Andrew Lock avatar

Andrew Lock

Environment
  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 How to use multiple hosting environments on the same machine in ASP.NET Core

    How to use multiple hosting environments on the same machine in ASP.NET Core

    This post shows how to use multiple hosting environments for different apps on a machine, by using environment variables and the UseEnvironment() method.…

  5. Banner image for Configuring environment specific services in ASP.NET Core - Part 2

    Configuring environment specific services in ASP.NET Core - Part 2

    In this post I show an approach to configuring environment specific services using naming conventions built into the Startup class and the WebHostBuilder.…

  6. Banner image for Configuring environment specific services for dependency injection in ASP.NET Core

    Configuring environment specific services for dependency injection in ASP.NET Core

    In this post I show how you can configure dependency injection so that different services will be injected when you are in a development environment.…

  7. Banner image for How to set the hosting environment in ASP.NET Core

    How to set the hosting environment in ASP.NET Core

    Learn how to set the hosting environment in ASP.NET Core using environment variables on Windows and OS X, using your IDE, or by using command line arguments.…

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