Nano.Data.InMemory
10.0.0-preview1
See the version list below for details.
dotnet add package Nano.Data.InMemory --version 10.0.0-preview1
NuGet\Install-Package Nano.Data.InMemory -Version 10.0.0-preview1
<PackageReference Include="Nano.Data.InMemory" Version="10.0.0-preview1" />
<PackageVersion Include="Nano.Data.InMemory" Version="10.0.0-preview1" />
<PackageReference Include="Nano.Data.InMemory" />
paket add Nano.Data.InMemory --version 10.0.0-preview1
#r "nuget: Nano.Data.InMemory, 10.0.0-preview1"
#:package Nano.Data.InMemory@10.0.0-preview1
#addin nuget:?package=Nano.Data.InMemory&version=10.0.0-preview1&prerelease
#tool nuget:?package=Nano.Data.InMemory&version=10.0.0-preview1&prerelease
Nano.Data.InMemory
In-memory data provider for Nano applications._
Table of Contents
Summary
Data Provider implementation for in-memory data access.
The in-memory data provider doesn't use migrations and there is no need to implement the BaseDbContextFactory.
📖 Learn more about Nano Data.
Try it out yourself using the Api.Data.InMemory, or Console.Data.InMemory example.
Registration
Install the Nano.Data.InMemory NuGet package.
dotnet add package Nano.Data.InMemory;
Register the InMemoryProvider provider during application startup in the ConfigureServices(...) method.
.ConfigureServices(services =>
{
services
.AddNanoData<InMemoryProvider, TContext>();
})
A BaseDbContext must also be implemented and used as TContext.
Configuration
Configured the application with the necessary data setup.
"Data": {
"BatchSize": 25,
"BulkBatchSize": 500,
"BulkBatchDelay": 1000,
"QueryRetryCount": 0,
"UseLazyLoading": false,
"StartupAction": "None",
"UseSoftDeletetion": false,
"UseSensitiveDataLogging": false,
"QuerySplittingBehavior": "SingleQuery",
"DefaultCollation": null,
"ConnectionString": "nanoDb",
"Repository": {
"UseAutoSave": false,
"QueryIncludeDepth": 4
},
"Identity": null,
"ConnectionPool": null,
"HealthCheck": null
}
| 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
- Microsoft.EntityFrameworkCore.InMemory (>= 10.0.7)
- Nano.Data (>= 10.0.0-preview1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Nano.Data.InMemory:
| Package | Downloads |
|---|---|
|
Nano.All
This package is part of the Nano Library, a set of reusable .NET libraries for building microservice applications. Nano addresses common non-business concerns such as logging, persistence, messaging, validation, and documentation, while remaining fully configurable and extensible, so applications can stay focused on business logic. See https://github.com/Nano-Core/Nano.Library for details. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0-preview2 | 64 | 4/25/2026 |
| 10.0.0-preview1 | 71 | 4/24/2026 |
- .NET 10 support.
- Comprehensive rewrite with performance optimizations, improvements, and bug fixes.
- Not compatible with previous versions of Nano.