string Environment { get; }
Source
The current environment name. Read from command-line --environment, "ASPNETCORE_ENVIRONMENT", or "DOTNET_ENVIRONMENT"; defaults to "Production" if none is set.