| File: EnvironmentName.cs | Web Access |
| Project: src\aspnetcore\src\Hosting\Abstractions\src\Microsoft.AspNetCore.Hosting.Abstractions.csproj (Microsoft.AspNetCore.Hosting.Abstractions) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Hosting; /// <summary> /// Commonly used environment names. /// </summary> [System.Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments.", error: false)] public static class EnvironmentName { /// <summary> /// A string constant for Development environments. /// </summary> public static readonly string Development = "Development"; /// <summary> /// A string constant for Staging environments. /// </summary> public static readonly string Staging = "Staging"; /// <summary> /// A string constant for Production environments. /// </summary> public static readonly string Production = "Production"; }