NStore.Core
0.19.0
See the version list below for details.
dotnet add package NStore.Core --version 0.19.0
NuGet\Install-Package NStore.Core -Version 0.19.0
<PackageReference Include="NStore.Core" Version="0.19.0" />
<PackageVersion Include="NStore.Core" Version="0.19.0" />
<PackageReference Include="NStore.Core" />
paket add NStore.Core --version 0.19.0
#r "nuget: NStore.Core, 0.19.0"
#:package NStore.Core@0.19.0
#addin nuget:?package=NStore.Core&version=0.19.0
#tool nuget:?package=NStore.Core&version=0.19.0
<img src="logo/logo.png" alt="logo" height="120" align="right" />
NStore
(Yet Another) Opinionated Event Sourcing Library
NStore started as a playground for experimenting with .net Standard, async and a simple API for a Sql/NoSql backed EventStore.
After years of experience running NEventStore in production we wrote NStore from scratch with a simpler and extensible API.
CI Status
Build server | Platform | Build Status | |
---|---|---|---|
AppVeyor | Windows | <img src="https://ci.appveyor.com/api/projects/status/github/proximosrl/nstore?svg=true" alt="Build status" > | |
GH Actions | Linux | <img src="https://github.com/ProximoSrl/NStore/workflows/NStore%20CI/badge.svg" alt="Build status" > | |
Azdo | Windows | <img src="https://dev.azure.com/gianmariaricci/Public/_apis/build/status/130" alt="Build status" > |
Quickstart
Setup the streams factory
var streams = new StreamsFactory(new InMemoryPersistence());
open the stream
var post = streams.Open("post/123");
append new data
await post.AppendAsync(new Favorited("users/200", DateTime.UtcNow));
read the stream
await post.ReadAsync(chunk =>
{
Console.WriteLine($"{chunk.PartitionId} #{chunk.Index} => {chunk.Payload}");
return Subscription.Continue;
});
Process the stream
var favs = await post.AggregateAsync<UniqueFavs>();
Console.WriteLine($"{favs.Count} users added '{post.Id}' as favorite");
Full source at src/NStore.Quickstart/Program.cs
Learn
The source comes with a Sample App to illustrate some basic stuff you can do.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (7)
Showing the top 5 NuGet packages that depend on NStore.Core:
Package | Downloads |
---|---|
NStore.BaseSqlPersistence
Package Description |
|
NStore.Persistence.MsSql
Package Description |
|
NStore.Domain
Package Description |
|
NStore.Persistence.Mongo
Package Description |
|
NStore.Tpl
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.20.1 | 380 | 7/29/2025 |
0.20.0 | 1,487 | 12/17/2024 |
0.20.0-mongo-driver-3-0011 | 344 | 12/9/2024 |
0.20.0-alpha0011 | 346 | 12/17/2024 |
0.20.0-alpha0010 | 337 | 10/28/2024 |
0.19.0 | 1,084 | 10/28/2024 |
0.19.0-alpha0028 | 304 | 10/28/2024 |
0.19.0-alpha0027 | 360 | 9/16/2024 |
0.19.0-alpha0019 | 363 | 7/15/2024 |
0.19.0-alpha0016 | 365 | 7/4/2024 |
0.19.0-alpha0015 | 414 | 7/3/2024 |
0.19.0-alkampfergit-add0024 | 393 | 8/28/2024 |
0.19.0-alkampfergit-add0020 | 417 | 8/28/2024 |
0.18.3 | 677 | 9/16/2024 |
0.18.3-beta0001 | 369 | 9/16/2024 |
0.18.1 | 892 | 7/4/2024 |
0.18.1-beta0015 | 384 | 7/4/2024 |
0.18.0 | 534 | 7/3/2024 |
0.18.0-alpha0018 | 426 | 7/3/2024 |
0.18.0-alpha0016 | 393 | 6/12/2024 |
0.18.0-alpha0015 | 374 | 6/12/2024 |
0.18.0-alpha0013 | 363 | 6/12/2024 |
0.18.0-alpha0010 | 378 | 6/11/2024 |
0.18.0-alpha0009 | 386 | 6/11/2024 |
0.18.0-alpha0008 | 383 | 6/11/2024 |
0.18.0-alpha0007 | 727 | 1/4/2024 |
0.18.0-alkampfergit-rem0015 | 356 | 6/12/2024 |
0.18.0-alkampfergit-rem0014 | 429 | 6/12/2024 |
0.18.0-alkampfergit-cen0017 | 415 | 7/3/2024 |
0.18.0-alkampfergit-cen0016 | 399 | 6/12/2024 |
0.18.0-alkampfergit-add0021 | 393 | 6/12/2024 |
0.18.0-alkampfergit-add0020 | 396 | 6/12/2024 |
0.18.0-alkampfergit-add0019 | 418 | 6/12/2024 |
0.18.0-alkampfergit-add0018 | 431 | 6/12/2024 |
0.18.0-alkampfergit-add0017 | 384 | 6/12/2024 |
0.18.0-alkampfergit-add0013 | 402 | 6/12/2024 |
0.17.1-beta0001 | 668 | 1/4/2024 |
0.17.0 | 1,292 | 1/4/2024 |
0.17.0-beta0001 | 634 | 1/4/2024 |
0.17.0-alpha0009 | 898 | 8/16/2023 |
0.17.0-alpha0006 | 885 | 8/16/2023 |
0.17.0-alpha0002 | 919 | 7/26/2023 |
0.16.2-beta0001 | 730 | 11/25/2023 |
0.16.1 | 1,627 | 8/16/2023 |
0.16.0 | 1,063 | 7/26/2023 |
0.16.0-beta0000 | 887 | 7/26/2023 |
0.16.0-alpha0008 | 952 | 7/11/2023 |
0.15.1 | 1,076 | 7/11/2023 |
0.15.1-beta0002 | 978 | 7/11/2023 |
0.15.0-beta0000 | 956 | 5/4/2023 |
0.15.0-alpha0006 | 944 | 2/13/2023 |
0.15.0-alpha0002 | 968 | 5/4/2023 |
0.14.0 | 2,476 | 2/13/2023 |
0.14.0-tags-0-13-0-0001 | 979 | 12/19/2022 |
0.14.0-multi-partition-0010 | 997 | 2/7/2023 |
0.14.0-beta0000 | 939 | 2/10/2023 |
0.14.0-alpha0010 | 918 | 2/8/2023 |
0.13.1 | 2,235 | 12/19/2022 |
0.13.0-alpha0017 | 984 | 11/4/2022 |
0.13.0-alpha0016 | 995 | 11/4/2022 |
0.13.0-alpha0013 | 943 | 8/30/2022 |
0.13.0-alpha0000 | 947 | 8/30/2022 |
0.12.1 | 2,427 | 11/4/2022 |
0.12.1-beta0013 | 991 | 11/4/2022 |
0.12.0 | 2,829 | 8/30/2022 |
0.12.0-alpha0069 | 1,019 | 5/31/2022 |
0.12.0-alpha0058 | 4,311 | 11/25/2021 |
0.12.0-alpha0055 | 1,248 | 11/5/2021 |
0.12.0-alpha0052 | 1,233 | 11/4/2021 |
0.12.0-alpha0049 | 1,243 | 9/23/2021 |
0.11.5 | 2,992 | 5/27/2022 |
0.11.5-beta0001 | 1,028 | 5/27/2022 |
0.11.3 | 5,285 | 11/25/2021 |
0.11.2 | 2,118 | 11/5/2021 |
0.11.1 | 2,016 | 11/4/2021 |
0.11.0 | 2,060 | 9/23/2021 |
0.11.0-libupgrade0033 | 1,351 | 4/8/2021 |
0.11.0-libupgrade0032 | 1,361 | 4/8/2021 |
0.11.0-libupgrade0031 | 1,312 | 4/8/2021 |
0.11.0-libupgrade0030 | 1,348 | 4/8/2021 |
0.11.0-fixbuild0030 | 1,340 | 4/7/2021 |
0.11.0-alpha0074 | 1,253 | 9/22/2021 |
0.11.0-alpha0066 | 1,245 | 5/10/2021 |
0.11.0-alpha0055 | 1,226 | 5/10/2021 |
0.11.0-alpha0047 | 1,317 | 5/6/2021 |
0.11.0-alpha0034 | 1,304 | 4/15/2021 |
0.11.0-alpha0029 | 1,320 | 4/7/2021 |
0.10.7 | 1,978 | 6/11/2021 |
0.10.7-ci0002 | 1,197 | 6/11/2021 |
0.10.7-beta0003 | 1,258 | 6/11/2021 |
0.10.7-beta0001 | 1,199 | 6/11/2021 |
0.10.6 | 1,907 | 5/10/2021 |
0.10.6-beta0006 | 1,244 | 5/7/2021 |
0.10.6-beta0005 | 1,265 | 5/7/2021 |
0.10.6-beta0004 | 1,245 | 5/7/2021 |
0.10.6-beta0002 | 1,214 | 5/7/2021 |
0.10.4 | 7,289 | 1/7/2021 |
0.10.0 | 2,119 | 1/7/2021 |
0.9.0 | 2,537 | 5/24/2020 |
0.9.0-pre0035 | 1,637 | 2/13/2020 |
0.9.0-pre0034 | 1,596 | 2/12/2020 |
0.8.0 | 2,535 | 4/4/2019 |
0.6.0 | 2,481 | 3/14/2019 |
0.4.0 | 5,686 | 3/20/2018 |
0.3.0 | 3,599 | 1/11/2018 |
0.2.1-beta0002 | 2,044 | 12/23/2017 |
0.2.0-sqlitebinary0111 | 2,281 | 11/21/2017 |
0.2.0-pre0091 | 2,295 | 11/1/2017 |
0.2.0-pre0064 | 2,168 | 9/6/2017 |
0.2.0-pre0045 | 2,205 | 8/30/2017 |