Novolis.Storage.Json 2026.1.1.53

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

Novolis

Novolis · Docs · Source

Novolis.Storage.Json

JSON file-per-entity IRepository<T> provider. Layout: {RootPath}/{TypeName}/{Id:N}.json. Uses Novolis.IO.Workspace for reads/writes and optional cross-process locking.

Install

dotnet add package Novolis.Storage.Json

Depends on Novolis.Storage.Abstractions and Novolis.IO.Workspace.

Quick start

using Microsoft.Extensions.DependencyInjection;
using Novolis.Storage.Abstractions;
using Novolis.Storage.Json;

services.AddStorage(builder => builder.AddJsonProvider(o =>
{
    o.RootPath = @"C:\data\saves";
    o.UseProcessLock = true;
    o.CreateIfMissing = true;
}));

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

AddJsonFilesProvider is an alias for AddJsonProvider.

Create with a new id:

var entity = await repo.CreateAsync(
    idProvider,
    id => new MyEntity { Id = id },
    cancellationToken);

Startup validates root existence, read/write probes, and optional .store.lock when UseProcessLock && !ReadOnly.

API

Type Role
JsonFilesOptions RootPath, ReadOnly, CreateIfMissing, UseProcessLock, LockStripes, JsonSerializerOptions
JsonStorageWorkspaceKey Keyed DI name for the backing IFileWorkspace (Default)
JsonStorageExtensions.AddJsonProvider Registers workspace, options, lock, repositories
RepositoryCreateExtensions.CreateAsync Factory helper on IRepository<T>
Package Role
Novolis.Storage.Abstractions IRepository<T>, AddStorage, IIdProvider
Novolis.IO.Workspace PhysicalFileWorkspace used internally
Novolis.Storage.LiteDb Single-file document store alternative
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.1.53 0 10/4/2026
2026.1.1.52 0 10/4/2026
2026.1.1.51 0 10/4/2026
2026.1.1.50 43 10/3/2026
2026.1.1.49 39 10/3/2026
2026.1.1.48 44 10/3/2026
2026.1.1.46 32 10/3/2026
2026.1.1.45 34 10/3/2026
2026.1.1.42 32 10/3/2026
2026.1.1.41 34 10/3/2026
2026.1.1.37 36 10/1/2026
2026.1.1.36 41 9/30/2026