=> Original Post <=
ASP.NET Core uses the ASPNETCORE_ENVIRONMENT environment variable to determine the current environment. By default, if you run your application without setting this value, it will automatically default to the Production environment.
> dotnet run
Project TestApp (.NETC...