IHostingEnvironment.EnvironmentName Propiedad

Definición

Obtiene o establece el nombre del entorno. El host establece automáticamente esta propiedad en el valor de la variable de entorno "ASPNETCORE_ENVIRONMENT", o "entorno" como se especifica en cualquier otro origen de configuración.

public:
 property System::String ^ EnvironmentName { System::String ^ get(); void set(System::String ^ value); };
public string EnvironmentName { get; set; }
member this.EnvironmentName : string with get, set
Public Property EnvironmentName As String

Valor de propiedad

String

Se aplica a