Skip to content
Opinionated eventsourcing library
Branch: develop
Clone or download
alkampfergit Merge tag '0.8.3' into develop
Reverted mongo driver to 2.7.3
Latest commit 8e3f8fc May 14, 2019

README.md

logo

NStore

(Yet Another) Opinionated Event Sourcing Library

This project is a playground for experimenting with .net Standard, async and a simple API for a Sql/NoSql backed EventStore. Heavily inspired from NEventStore, rewritten from scratch to be simple to learn and highly extensible.

CI Status

Build server Platform Build Status
AppVeyor Windows Build status
Travis Ubuntu Build status

Quickstart

Streams API

var persister = new InMemoryPersistence();
var streams = new StreamsFactory(persister);

// Write to stream
var stream = streams.Open("Stream_1");
await stream.AppendAsync(new { data = "Hello world!" });

// Read from stream
await stream.ReadAsync(data => {
    Console.WriteLine($"  index {data.Index} => {data.Payload}");
    return Task.FromResult(true);
});

Learn

The source comes with a Sample App to illustrate some basic stuff you can do.

Follow this project

Roadmap

You can’t perform that action at this time.