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. You even get a free copy of the first edition of ASP.NET Core in Action!
This post shows how to use multiple hosting environments for different apps on a machine, by using environment variables and the UseEnvironment() method.…
In this post I show an approach to configuring environment specific services using naming conventions built into the Startup class and the WebHostBuilder.…
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.…
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.…
Stay up to the date with the latest posts!