AsiBackbone.Storage.InMemory 2.1.1

dotnet add package AsiBackbone.Storage.InMemory --version 2.1.1
                    
NuGet\Install-Package AsiBackbone.Storage.InMemory -Version 2.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="AsiBackbone.Storage.InMemory" Version="2.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AsiBackbone.Storage.InMemory" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="AsiBackbone.Storage.InMemory" />
                    
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 AsiBackbone.Storage.InMemory --version 2.1.1
                    
#r "nuget: AsiBackbone.Storage.InMemory, 2.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 AsiBackbone.Storage.InMemory@2.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=AsiBackbone.Storage.InMemory&version=2.1.1
                    
Install as a Cake Addin
#tool nuget:?package=AsiBackbone.Storage.InMemory&version=2.1.1
                    
Install as a Cake Tool

AsiBackbone.Storage.InMemory

Non-durable in-memory storage helpers for Accountable Systems Infrastructure local validation, samples, and tests.

This package provides non-durable storage implementations that make it easy to exercise ASI Backbone governance flows without requiring a database, EF Core provider, or host infrastructure.

New to AsiBackbone? Start with the concept, not this package: Intent to Execution: An Accountability Pattern and the documentation site. This README covers one package in the family.

Important: This package is not durable storage. Do not use it as a production audit ledger, compliance archive, tamper-evident store, or long-term accountability store.

What this package provides

  • In-memory audit ledger behavior for local validation and tests.
  • In-memory governance outbox behavior for local validation, samples, and integration tests.
  • Storage implementations that depend on AsiBackbone.Core only.
  • A simple bridge for samples that need audit or outbox records without introducing EF Core or a database.

Intended usage

Use this package when:

  • writing unit tests or integration tests around policy evaluation;
  • building sample applications;
  • validating audit residue and audit ledger behavior locally;
  • validating governance outbox state transitions locally;
  • demonstrating host-neutral ASI Backbone flows before adding durable storage.

For production persistence, use a host-owned durable storage strategy such as AsiBackbone.EntityFrameworkCore or a custom implementation of the Core storage contracts.

In-memory outbox concurrency semantics

InMemoryGovernanceOutboxStore is single-process and non-durable. It does not claim work across replicas, coordinate distributed workers, or provide exactly-once provider delivery.

Within that single process, same-entry outbox status transitions use compare-and-swap updates so local tests do not accidentally observe last-write-wins behavior. Delivered and dead-lettered entries are treated as terminal for subsequent in-memory state updates, and retryable failure updates against the same entry advance from the latest observed entry state.

Boundary

The in-memory package should remain lightweight and host-neutral. It should not select a database provider, own migrations, expose ASP.NET Core middleware, or imply durable compliance-grade audit storage.

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 (1)

Showing the top 1 NuGet packages that depend on AsiBackbone.Storage.InMemory:

Package Downloads
AsiBackbone.Testing

Test harness helpers for Accountable Systems Infrastructure endpoint governance, deterministic policy decisions, and in-memory inspection.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.1 120 6/29/2026
2.1.0 105 6/28/2026
2.0.2 163 6/26/2026
2.0.1 114 6/26/2026
2.0.0 235 6/25/2026