EnvironmentName Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |