Soenneker.Enums.DeployEnvironment
4.0.236
Prefix Reserved
dotnet add package Soenneker.Enums.DeployEnvironment --version 4.0.236
NuGet\Install-Package Soenneker.Enums.DeployEnvironment -Version 4.0.236
<PackageReference Include="Soenneker.Enums.DeployEnvironment" Version="4.0.236" />
<PackageVersion Include="Soenneker.Enums.DeployEnvironment" Version="4.0.236" />
<PackageReference Include="Soenneker.Enums.DeployEnvironment" />
paket add Soenneker.Enums.DeployEnvironment --version 4.0.236
#r "nuget: Soenneker.Enums.DeployEnvironment, 4.0.236"
#:package Soenneker.Enums.DeployEnvironment@4.0.236
#addin nuget:?package=Soenneker.Enums.DeployEnvironment&version=4.0.236
#tool nuget:?package=Soenneker.Enums.DeployEnvironment&version=4.0.236
Soenneker.Enums.DeployEnvironment
A string-backed enum-value type for carrying a deployment-environment identifier through application and API contracts.
Install
dotnet add package Soenneker.Enums.DeployEnvironment
Usage
using Soenneker.Enums.DeployEnvironment;
DeployEnvironment environment = DeployEnvironment.Staging;
string wireValue = environment.Value; // "Staging"
if (DeployEnvironment.TryFromValue(configuredValue, out DeployEnvironment? parsed))
{
environment = parsed;
}
Available values:
Test— unit, integration, or pull-request validationLocal— a developer workstationE2E— isolated end-to-end validationDevelopment— a shared development deploymentStaging— pre-production validationProduction— the live deployment
System.Text.Json serializes the type as the shown string value. FromValue throws for an unknown value; use TryFromValue when reading configuration or requests. FromName and TryFromName are also generated.
This type does not read ASPNETCORE_ENVIRONMENT or DOTNET_ENVIRONMENT, change application configuration, or integrate with IHostEnvironment automatically. Map those values explicitly and decide how unknown environments should be handled. Do not use an environment label as an authorization boundary or as the sole control protecting destructive operations.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Gen.EnumValues (>= 4.0.46)
NuGet packages (15)
Showing the top 5 NuGet packages that depend on Soenneker.Enums.DeployEnvironment:
| Package | Downloads |
|---|---|
|
Soenneker.Cosmos.Client
A utility library for Azure Cosmos client accessibility |
|
|
Soenneker.Utils.Environment
A utility library for useful environment related functionality |
|
|
Soenneker.Blob.Sas
A utility library for Azure Blob SAS operations |
|
|
Soenneker.Extensions.LoggerConfiguration
A set of useful Serilog LoggerConfiguration extension methods |
|
|
Soenneker.Fixtures.Integration
Provides a reusable and generic integration test xunit fixture that dynamically registers and configures WebApplicationFactory instances for multiple ASP.NET Core projects with support for custom app settings, authentication, logging, and test utilities. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.236 | 8,759 | 8/30/2026 |
| 4.0.235 | 5,913 | 8/30/2026 |
| 4.0.234 | 1,011 | 8/29/2026 |
| 4.0.232 | 29,509 | 8/21/2026 |
| 4.0.231 | 11,428 | 8/18/2026 |
| 4.0.230 | 1,543 | 8/18/2026 |
| 4.0.229 | 34,959 | 8/7/2026 |
| 4.0.228 | 22,475 | 7/28/2026 |
| 4.0.227 | 272 | 7/28/2026 |
| 4.0.226 | 36,204 | 7/17/2026 |
| 4.0.225 | 9,842 | 7/16/2026 |
| 4.0.224 | 33,219 | 7/2/2026 |
| 4.0.223 | 20,390 | 6/19/2026 |
| 4.0.222 | 6,184 | 6/18/2026 |
| 4.0.221 | 43,137 | 6/8/2026 |
| 4.0.220 | 13,501 | 6/5/2026 |
| 4.0.219 | 839 | 6/5/2026 |
| 4.0.218 | 2,597 | 6/5/2026 |
| 4.0.217 | 317 | 6/5/2026 |
| 4.0.216 | 47,501 | 5/1/2026 |
Update dependency Soenneker.Gen.EnumValues to 4.0.46 (#316)