Anarchy.Toolkit.Core 1.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anarchy.Toolkit.Core --version 1.1.1
                    
NuGet\Install-Package Anarchy.Toolkit.Core -Version 1.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Anarchy.Toolkit.Core" Version="1.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anarchy.Toolkit.Core" Version="1.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Anarchy.Toolkit.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Anarchy.Toolkit.Core --version 1.1.1
                    
#r "nuget: Anarchy.Toolkit.Core, 1.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Anarchy.Toolkit.Core@1.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Anarchy.Toolkit.Core&version=1.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Anarchy.Toolkit.Core&version=1.1.1
                    
Install as a Cake Tool

Anarchy.Toolkit.Core

Part of Anarchy I/O Toolkit, a .NET developer platform · Pillar: Infrastructure · Layer: Core · Package catalog

Foundational, infrastructure-independent building blocks for .NET services.

dotnet add package Anarchy.Toolkit.Core
  • Use helpers and extensions for strings, enums, dates and JSON, plus common exception primitives.
  • Mark domain objects with IEntity, IPersistedEntity or IDeepCloneableEntity<T> as appropriate.
  • Implement IDependencyInjectionModule and register it with UseModule<T>() or UseModule(module); use the keyed client-resolver abstractions when selecting clients by key.

When to use it

Reference Core from domain and application projects that need shared contracts without choosing a database, transport or hosting model. Use the more specific Core.* packages only when their corresponding concern is needed; concrete adapters belong at the application's composition root.

How to use it

  1. Implement the entity interfaces only where their contracts fit your domain model. IPersistedEntity identifies persisted entities, while IDeepCloneableEntity<T> expresses cloning support.
  2. Group related service registrations in an IDependencyInjectionModule. Call services.UseModule<TModule>(configuration, environment) for a parameterless module, or pass an instance to UseModule when it needs options.
  3. Keep the module's configuration choices in the application: pass IConfiguration, the host environment and any options factories from startup rather than hard-coding environment-specific values in domain code.

For a complete registration example using a concrete adapter, see the module guide.

See the toolkit overview and dependency-injection guide.

Releases

1.1.1

  • docs(packages): identify each package's pillar and layer
  • build(packages): attribute the copyright to Leandro Melão Medeiros
  • build: relicense under Apache-2.0 and update the package metadata

1.1.0

  • feat: LocalPorts (moved from Build.Cli), now generic, with a configurable first port, IsAvailable and FindAvailable

1.0.6

  • docs: expand XML docblocks across all projects for the DocFX API reference

1.0.5

  • refactor(src): clean up code style across library packages

1.0.3

  • build: migrate local automation to build tooling

1.0.2

  • docs: expand package guides and release histories

1.0.1

  • Added a package-specific NuGet README.

1.0.0

  • Introduced entity contracts, shared exceptions and dependency-injection module composition.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (25)

Showing the top 5 NuGet packages that depend on Anarchy.Toolkit.Core:

Package Downloads
Anarchy.Toolkit.Core.Observability

Observability primitives over Serilog: the Observer facade (Logger, MeasurerBase and LogContext) with call-site logging and metrics helpers.

Anarchy.Toolkit.Configuration

Application configuration: settings contracts, environment and secret handling, and the provider-neutral telemetry bootstrap (ModuleTelemetry) that applications extend through dependency injection.

Anarchy.Toolkit.Core.Messaging.Abstractions

Message broker contracts: publisher abstraction, inbound/outbound messages, and envelope parsing.

Anarchy.Toolkit.Infrastructure.CorrelationId

Provider-neutral correlation and attempt id propagation through async context, structured logging scopes, activity tags and ASP.NET Core middleware.

Anarchy.Toolkit.Core.Persistence.Abstractions

Database abstraction layer: Unit of Work, async-local flow context, storage policy, and repository contracts.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1 0 11/21/2026
2.0.0 0 11/20/2026
1.1.1 395 11/17/2026
1.1.0 347 11/17/2026
1.0.6 305 11/16/2026
1.0.5 418 11/14/2026
1.0.4 476 11/9/2026
1.0.3 309 11/9/2026
1.0.1 450 11/6/2026
1.0.0 360 11/5/2026

Initial release.