https://github.com/tylertron1998/kvn
Key Value Notation (KVN) based storage for .NET.
https://github.com/tylertron1998/kvn
database dotnet dotnet-core keyvalue
Last synced: about 1 month ago
JSON representation
Key Value Notation (KVN) based storage for .NET.
- Host: GitHub
- URL: https://github.com/tylertron1998/kvn
- Owner: Tylertron1998
- Created: 2020-02-02T01:09:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-17T03:36:43.000Z (about 6 years ago)
- Last Synced: 2025-03-11T08:29:00.187Z (about 1 year ago)
- Topics: database, dotnet, dotnet-core, keyvalue
- Language: C#
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

KVN (Key Value Notation) is a JSON backed, simple to use, key value storage solution for .NET.
```cs
var settings = new DatabaseSettings("./path/to/file.json");
var instance = new DatabaseInstance(settings);
long id = 1;
var poco = new MyPoco { Value = "Hello, .NET!" };
instance[id] = poco;
// call .SaveChanges to commit your changes.
instance.SaveChanges();
Console.WriteLine(instance[id]); // Hello, .NET!
```
KVN aims to be thread safe, fast, and easy to use.