IHostingEnvironment.EnvironmentName Property

Definition

Gets or sets the name of the environment. This property is automatically set by the host to the value of the "ASPNETCORE_ENVIRONMENT" environment variable.

public string EnvironmentName { get; set; }
Property Value

Applies to