Novolis.Storage.LiteDb
2026.1.1.53
dotnet add package Novolis.Storage.LiteDb --version 2026.1.1.53
NuGet\Install-Package Novolis.Storage.LiteDb -Version 2026.1.1.53
<PackageReference Include="Novolis.Storage.LiteDb" Version="2026.1.1.53" />
<PackageVersion Include="Novolis.Storage.LiteDb" Version="2026.1.1.53" />
<PackageReference Include="Novolis.Storage.LiteDb" />
paket add Novolis.Storage.LiteDb --version 2026.1.1.53
#r "nuget: Novolis.Storage.LiteDb, 2026.1.1.53"
#:package Novolis.Storage.LiteDb@2026.1.1.53
#addin nuget:?package=Novolis.Storage.LiteDb&version=2026.1.1.53
#tool nuget:?package=Novolis.Storage.LiteDb&version=2026.1.1.53
Novolis.Storage.LiteDb
LiteDB-backed IRepository<T> provider for Novolis storage abstractions. Registers a shared ILiteDatabase singleton plus open-generic repositories.
Install
dotnet add package Novolis.Storage.LiteDb
Depends on LiteDB and Novolis.Storage.Abstractions.
Quick start
using Microsoft.Extensions.DependencyInjection;
using Novolis.Storage.Abstractions;
using Novolis.Storage.LiteDb;
services.AddStorage(builder => builder.AddLiteDbProvider(o =>
{
o.DatabasePath = "Data/novolis.db";
o.Password = null; // optional AES password
}));
var repo = sp.GetRequiredService<IRepository<MyEntity>>();
await repo.UpsertAsync(entity, cancellationToken);
Use :memory: for an in-process database (shared connection for the app lifetime).
API
| Type | Role |
|---|---|
LiteDbOptions |
DatabasePath, Password, WriteLockStripes |
LiteDbStorageExtensions.AddLiteDbProvider |
Registers ILiteDatabase, IRepositoryProvider, IRepository<> |
AddStorage (from Abstractions) also registers IIdProvider → GuidV7IdProvider and IRepositoryFactory.
Related
| Package | Role |
|---|---|
Novolis.Storage.Abstractions |
IRepository<T>, AddStorage, IHasId |
Novolis.Storage.InMemory |
Volatile repositories for tests |
Novolis.Storage.Json |
File-per-entity JSON repositories |
| 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
- LiteDB (>= 5.0.21)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Novolis.Storage.Abstractions (>= 2026.1.1.53)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Novolis.Storage.LiteDb:
| Package | Downloads |
|---|---|
|
Novolis.Tools.LiteDb
LiteDB session helpers for CLI REPLs and scripting, aligned with Novolis.Storage.LiteDb. |
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 | 40 | 10/3/2026 |
| 2026.1.1.49 | 37 | 10/3/2026 |
| 2026.1.1.48 | 46 | 10/3/2026 |
| 2026.1.1.46 | 35 | 10/3/2026 |
| 2026.1.1.45 | 33 | 10/3/2026 |
| 2026.1.1.42 | 39 | 10/3/2026 |
| 2026.1.1.41 | 36 | 10/3/2026 |
| 2026.1.1.37 | 45 | 10/1/2026 |
| 2026.1.1.36 | 37 | 9/30/2026 |