WebApplicationOptions.EnvironmentName Property

Definition

The environment name.

C#
public string? EnvironmentName { get; init; }

Property Value

Applies to

Product Versions
ASP.NET Core 6.0, 7.0, 8.0, 9.0