AsyncHandler.EventSourcing
1.0.0
See the version list below for details.
dotnet add package AsyncHandler.EventSourcing --version 1.0.0
NuGet\Install-Package AsyncHandler.EventSourcing -Version 1.0.0
<PackageReference Include="AsyncHandler.EventSourcing" Version="1.0.0" />
paket add AsyncHandler.EventSourcing --version 1.0.0
#r "nuget: AsyncHandler.EventSourcing, 1.0.0"
// Install AsyncHandler.EventSourcing as a Cake Addin #addin nuget:?package=AsyncHandler.EventSourcing&version=1.0.0 // Install AsyncHandler.EventSourcing as a Cake Tool #tool nuget:?package=AsyncHandler.EventSourcing&version=1.0.0
asynchandler
A lightweight event sourcing framework with event-store of choice.
<div align="left"> <img src="assets/github.png" alt="marten logo" width="80" height="80" style="float:left;"> </div>
Overview
asynchandler is a high-performance event sourcing framework built for .Net, aiming to simplify event sourcing for everyone. asynchandler combines consistency with schema flexibility, and integrates easily with event storage vendors. Currently supports Azure Sql database and Sql Server, with Postgres in the upcoming releases.
Setup environment
asynchandler runs on the stable release of .Net 8 and requires the SDK installed.
https://dotnet.microsoft.com/en-us/download/dotnet/8.0
Use docker to run sqlserver or postgres databases, execute docker-compose
.
docker compose --project-name some-name up -d
Usage and code
Install the package
Simply install AsyncHandler.EventSourcing
package.
dotnet add package AsyncHandler.EventSourcing
Use AddAsyncHandler
service collection extension
builder.Services.AddAsyncHandler(asynchandler =>
{
asynchandler.AddEventSourcing(source =>
{
source.SelectEventSource(EventSources.AzureSql, connectionString);
});
});
Select your event source of choice from SelectEventSource
, currently AzureSql and SqlServer are supported.
Please notice, this is a prelease and doesn't yet offer full event sourcing functionality.
Give us a star ⭐
If you are an event sourcer and love OSS, give us a star. 💜
License
This project is licensed under the terms of the MIT license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.Data.SqlClient (>= 5.2.1)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Hosting (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AsyncHandler.EventSourcing:
Package | Downloads |
---|---|
AsyncHandler.Workflows
Github workflows and packages |
GitHub repositories
This package is not used by any popular GitHub repositories.