EnvironmentName Class

Definition

Caution

This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments.

Caution

EnvironmentName has been deprecated. Use Microsoft.Extensions.Hosting.Environments instead.

Commonly used environment names.

This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments.

public ref class EnvironmentName abstract sealed
public static class EnvironmentName
[System.Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments.", false)]
public static class EnvironmentName
[System.Obsolete("EnvironmentName has been deprecated. Use Microsoft.Extensions.Hosting.Environments instead.")]
public static class EnvironmentName
type EnvironmentName = class
[<System.Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments.", false)>]
type EnvironmentName = class
[<System.Obsolete("EnvironmentName has been deprecated. Use Microsoft.Extensions.Hosting.Environments instead.")>]
type EnvironmentName = class
Public Class EnvironmentName
Inheritance
EnvironmentName
Attributes

Fields

Development

The name of the Development environment.

Production

The name of the Production environment.

Staging

The name of the Staging environment.

Applies to