Anarchy.Toolkit.Configuration
1.0.5
See the version list below for details.
dotnet add package Anarchy.Toolkit.Configuration --version 1.0.5
NuGet\Install-Package Anarchy.Toolkit.Configuration -Version 1.0.5
<PackageReference Include="Anarchy.Toolkit.Configuration" Version="1.0.5" />
<PackageVersion Include="Anarchy.Toolkit.Configuration" Version="1.0.5" />
<PackageReference Include="Anarchy.Toolkit.Configuration" />
paket add Anarchy.Toolkit.Configuration --version 1.0.5
#r "nuget: Anarchy.Toolkit.Configuration, 1.0.5"
#:package Anarchy.Toolkit.Configuration@1.0.5
#addin nuget:?package=Anarchy.Toolkit.Configuration&version=1.0.5
#tool nuget:?package=Anarchy.Toolkit.Configuration&version=1.0.5
Anarchy.Toolkit.Configuration
Application settings, secrets and observability bootstrap for toolkit-based services.
dotnet add package Anarchy.Toolkit.Configuration
- Implement the settings capability interfaces your application needs, then bind and expose them with a
ModuleAppSettingsBase<TAppSettings>subclass. - Use
ModuleLibConfiguration<TAppSettingsDiModule, TAppSettings>to register settings, observability and secrets together; customize observability with anObserverFactory. - Choose configuration sources in the application, including AWS Systems Manager Parameter Store via
AddAwsSystemsManagerParameterStorewhen needed. Secret services include KMS, cached and in-memory implementations.
When to use it
Use this package at the composition boundary of a service that needs typed settings, secret access and a consistent Observer. Application code owns its settings type and the sources used to populate it; the package does not prescribe a configuration file or automatically provision AWS resources.
How to use it
- Define an application settings type implementing
IAppSettingsand whichever capability interfaces the application consumes, such asIAuthServiceAppSettingsorIPostgresAppSettings. - Derive a settings module from
ModuleAppSettingsBase<TAppSettings>. OverrideRegisterAdditionalTypesForSettingsto expose the same settings instance through the capability interfaces your services request. - Register
ModuleLibConfiguration<TAppSettingsDiModule, TAppSettings>usingUseModule, passing the host configuration and environment. Supply a customizedModuleObservability/ObserverFactoryif the defaults are not appropriate. - Choose configuration sources and secret providers in the host. Keep credentials outside committed configuration and grant the AWS permissions needed by any selected remote provider.
The sample API settings module and startup show the wiring end to end.
See the observability guide and toolkit overview.
Releases
1.0.5
- chore(deps): update AWS SDK packages
1.0.3
- build: migrate local automation to build tooling
1.0.2
- docs: expand package guides and release histories
- chore(deps): update AWS, Polly, and xUnit packages
1.0.1
- Added a package-specific NuGet README.
1.0.0
- Introduced application settings, configuration and secret management, observability setup and the AppRunner host helper.
| 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
- Amazon.Extensions.Configuration.SystemsManager (>= 7.1.1)
- Anarchy.Toolkit.Core (>= 1.0.4)
- Anarchy.Toolkit.Core.Observability (>= 1.0.4)
- Anarchy.Toolkit.Infrastructure.CorrelationId (>= 1.0.4)
- AWSSDK.Core (>= 4.1.0)
- AWSSDK.Extensions.NETCore.Setup (>= 4.1.0)
- AWSSDK.KeyManagementService (>= 4.1.0)
- AWSSDK.SecretsManager (>= 4.1.1)
- Humanizer (>= 3.0.10)
- Microsoft.Extensions.Caching.Memory (>= 10.0.15)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Configuration.Json (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Hosting (>= 10.0.15)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.15)
- Microsoft.Identity.Client (>= 4.92.0)
- Newtonsoft.Json (>= 13.0.4)
- Serilog (>= 4.4.0)
- Serilog.Sinks.Console (>= 6.1.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Anarchy.Toolkit.Configuration:
| Package | Downloads |
|---|---|
|
Anarchy.Toolkit.Testing
Shared base test toolkit: TestCaseBase, TestHelper, in-memory test telemetry (log and metric capture), API Gateway response assertions, entity fixtures, and common test extensions. |
|
|
Anarchy.Toolkit.Hosting
Generic startup and entry-point bootstrapping for Jobs and Workers (Lambda and EC2). |
|
|
Anarchy.Toolkit.Testing.Db
Provider-agnostic relational database test helpers (DbTestHelper: enum type handlers and table truncate/clear; DbOptionsMapper) for integration tests. |
|
|
Anarchy.Toolkit.Hosting.Workers
Worker pipeline: monitored/resilient background workers, heartbeat, and a self-hosted health API (service health reports, build metadata) for workers. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release.