EnvironmentName Class

Definition

Caution

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

Commonly used environment names.

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
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
Public Class EnvironmentName
Inheritance
EnvironmentName
Attributes

Fields

Development

A string constant for Development environments.

Production

A string constant for Production environments.

Staging

A string constant for Staging environments.

Applies to