Novolis.Storage.Abstractions 2026.1.1.37

There is a newer version of this package available.
See the version list below for details.
dotnet add package Novolis.Storage.Abstractions --version 2026.1.1.37
                    
NuGet\Install-Package Novolis.Storage.Abstractions -Version 2026.1.1.37
                    
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="Novolis.Storage.Abstractions" Version="2026.1.1.37" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Storage.Abstractions" Version="2026.1.1.37" />
                    
Directory.Packages.props
<PackageReference Include="Novolis.Storage.Abstractions" />
                    
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 Novolis.Storage.Abstractions --version 2026.1.1.37
                    
#r "nuget: Novolis.Storage.Abstractions, 2026.1.1.37"
                    
#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 Novolis.Storage.Abstractions@2026.1.1.37
                    
#: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=Novolis.Storage.Abstractions&version=2026.1.1.37
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.Storage.Abstractions&version=2026.1.1.37
                    
Install as a Cake Tool

Novolis

Novolis · Docs · Source

Novolis.Storage.Abstractions

Entity repository and event-journal contracts with AddStorage DI composition. Game-specific command/event apply logic belongs in product repos, not here.

Install

dotnet add package Novolis.Storage.Abstractions

Quick start — repositories

using Microsoft.Extensions.DependencyInjection;
using Novolis.Storage.Abstractions;
using Novolis.Storage.InMemory; // or Json, LiteDb, Sqlite

services.AddStorage(builder => builder.AddInMemoryProvider());

var repo = sp.GetRequiredService<IRepository<MyEntity>>();
await repo.UpsertAsync(entity, cancellationToken);

Optional per-type provider override (register a concrete IRepositoryProvider first):

services.AddStorage(builder =>
{
    builder.AddJsonProvider(o => o.RootPath = root);
    builder.BindRepository<SpecialEntity, MyCustomRepositoryProvider>();
});

Quick start — event journal (contracts)

var session = SessionId.CreateNow();
var stream = StreamId.FromSession(session);
await eventStore.PublishAsync(stream, new { Kind = "joined" }, cancellationToken);

IEventStore implementations are not shipped in this package — only the contracts.

API — repositories

Type Role
IHasId Entity marker: Guid Id { get; }
IRepository<T> All(), TryGetAsync, UpsertAsync, DeleteAsync
IRepositoryProvider Backend hook: Create<T>()
IRepositoryFactory Resolves IRepository<T> from DI
IIdProvider / GuidV7IdProvider UUID v7 id generation
IStorageBuilder Fluent builder with Services
StorageServiceCollectionExtensions.AddStorage Registers factory + id provider
StorageTypeBindingExtensions.BindRepository Per-type provider binding

API — event journal

Type Role
StreamId Partition key for an ordered log
SessionId Sortable session key (base62 + ticks): CreateNow(), FromTicks, Parse
EventEnvelope StreamId + opaque Payload + TimestampUtc
IEventStore Append and subscribe
IReadableEventStore List events for a stream
ISnapshotCapableEventStore Optional snapshot compaction
Package Role
Novolis.Storage.Json File-per-entity repositories
Novolis.Storage.LiteDb LiteDB repositories
Novolis.Storage.InMemory In-memory repositories
Novolis.Storage.Sqlite SQLite repositories
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 (13)

Showing the top 5 NuGet packages that depend on Novolis.Storage.Abstractions:

Package Downloads
Novolis.Storage.Sqlite

SQLite-backed IRepository provider.

Novolis.Storage.LiteDb

LiteDB-backed IRepository provider.

Novolis.Storage.Json

JSON file-per-entity IRepository provider.

Novolis.Storage.InMemory

In-memory IRepository provider for tests and playtest profiles.

Novolis.Storage.AzureTables

Azure Table Storage IRepository provider.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.1.54 274 10/5/2026
2026.1.1.53 160 10/4/2026
2026.1.1.52 159 10/4/2026
2026.1.1.51 160 10/4/2026
2026.1.1.50 230 10/3/2026
2026.1.1.49 160 10/3/2026
2026.1.1.48 162 10/3/2026
2026.1.1.46 129 10/3/2026
2026.1.1.45 126 10/3/2026
2026.1.1.42 127 10/3/2026
2026.1.1.41 124 10/3/2026
2026.1.1.37 155 10/1/2026
2026.1.1.36 242 9/30/2026