![]() |
VOOZH | about |
dotnet add package Cosmos.CrossCuttingConcerns.Preferences.Flagsmith --version 0.1.3
NuGet\Install-Package Cosmos.CrossCuttingConcerns.Preferences.Flagsmith -Version 0.1.3
<PackageReference Include="Cosmos.CrossCuttingConcerns.Preferences.Flagsmith" Version="0.1.3" />
<PackageVersion Include="Cosmos.CrossCuttingConcerns.Preferences.Flagsmith" Version="0.1.3" />Directory.Packages.props
<PackageReference Include="Cosmos.CrossCuttingConcerns.Preferences.Flagsmith" />Project file
paket add Cosmos.CrossCuttingConcerns.Preferences.Flagsmith --version 0.1.3
#r "nuget: Cosmos.CrossCuttingConcerns.Preferences.Flagsmith, 0.1.3"
#:package Cosmos.CrossCuttingConcerns.Preferences.Flagsmith@0.1.3
#addin nuget:?package=Cosmos.CrossCuttingConcerns.Preferences.Flagsmith&version=0.1.3Install as a Cake Addin
#tool nuget:?package=Cosmos.CrossCuttingConcerns.Preferences.Flagsmith&version=0.1.3Install as a Cake Tool
Implementación Flagsmith de Cosmos.CrossCuttingConcerns.Preferences. Los microservicios de Cosmos dependen del paquete de abstracciones; este paquete sólo se referencia en el composition root.
// Program.cs (composition root)
using Cosmos.CrossCuttingConcerns.Preferences.Flagsmith;
builder.Services.AddFlagsmithPreferences(
environmentKey: builder.Configuration["Flagsmith:EnvironmentKey"]!,
apiUrl: builder.Configuration["Flagsmith:ApiUrl"]!);
Ajustes operativos opcionales (con defaults razonables):
builder.Services.AddFlagsmithPreferences(
environmentKey: key,
apiUrl: url,
enableLocalEvaluation: true, // default true
environmentRefreshIntervalSeconds: 60, // default 60
requestTimeoutSeconds: 5); // default 5
Cosmos.MultiTenancy.TenantResolver.TenantId como identifier de Flagsmith. La resolución del tenant es responsabilidad del host (hoy default "CosmosTenant"; se reemplaza con JwtTenantResolver u otros).T = bool → IsFeatureEnabled. Para el resto, GetFeatureValue + Convert.ChangeType (primitivos) / Enum.Parse (enums) / Nullable<T> desenvuelto.defaultValue y loguea un warning estructurado.Cosmos.MultiTenancy.TenantResolver registrado en DI (viene embebido en Cosmos.EventSourcing.CritterStack).Este paquete declara Cosmos.EventSourcing.CritterStack como dependencia únicamente para arrastrar Cosmos.MultiTenancy. Cuando Cosmos.MultiTenancy se publique como NuGet independiente, se migrará a esa dependencia directa.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 0.1.3 | 114 | 5/4/2026 | 0.1.3 is deprecated because it is no longer maintained. |
| 0.1.2 | 109 | 5/4/2026 | 0.1.2 is deprecated because it is no longer maintained. |
| 0.1.1 | 130 | 4/21/2026 | 0.1.1 is deprecated because it is no longer maintained. |
| 0.1.0 | 124 | 4/20/2026 | 0.1.0 is deprecated because it is no longer maintained. |