Sekiban.Pure.Templates 1.1.5

dotnet new install Sekiban.Pure.Templates::1.1.5
                    
This package contains a .NET Template Package you can call from the shell/command line.

Sekiban Event Sourcing Templates

This package contains project templates for creating event sourcing applications with Sekiban.

Installation

dotnet new install Sekiban.Pure.Templates

Available Templates

1. Orleans Sekiban Aspire Template

Create a new event sourcing project using Orleans and .NET Aspire:

dotnet new sekiban-orleans-aspire -n YourProjectName

This template includes:

  • Orleans-based distributed event sourcing
  • .NET Aspire orchestration
  • PostgreSQL and Azure Storage support
  • Blazor web frontend
  • Sample domain implementation

2. Dapr Sekiban Aspire Template

Create a new event sourcing project using Dapr and .NET Aspire:

dotnet new sekiban-dapr-aspire -n YourProjectName

This template includes:

  • Dapr-based distributed event sourcing
  • .NET Aspire orchestration
  • PostgreSQL support (Cosmos DB optional)
  • Dapr actors, state store, and pub/sub
  • Blazor web frontend
  • Sample domain implementation

Orleans Template Configuration

1. App Host Configuration

Add PostgreSQL password to secrets.json:

{
  "Parameters:postgres-password": "your_strong_password"
}

2. Optional: Cluster Settings

Modify AppHost Program.cs for your clustering needs:

var storage = builder.AddAzureStorage("azurestorage")
    .RunAsEmulator(r => r.WithImage("azure-storage/azurite", "3.33.0"));
var clusteringTable = storage.AddTables("orleans-sekiban-clustering");
var grainStorage = storage.AddBlobs("orleans-sekiban-grain-state");

var postgresPassword = builder.AddParameter("postgres-password", true);
var postgres = builder
    .AddPostgres("orleansSekibanPostgres", password: postgresPassword)
    .WithPgAdmin()
    .AddDatabase("SekibanPostgres");

var orleans = builder.AddOrleans("default")
    .WithClustering(clusteringTable)
    .WithGrainStorage("Default", grainStorage);

Dapr Template Configuration

1. Dapr Components

The Dapr template includes pre-configured components in the dapr-components directory:

  • State store configuration
  • Pub/sub configuration
  • Dapr runtime configuration

2. Running with Dapr

The template automatically configures Dapr sidecars through Aspire. Simply run:

dotnet run --project YourProjectName.AppHost

Common Features

Both templates include:

  • Event sourcing with Sekiban.Pure
  • CQRS pattern implementation
  • Sample domain with User and WeatherForecast aggregates
  • Unit test projects
  • Aspire dashboard for monitoring
  • PostgreSQL database support
  • Blazor Server web frontend

Learn More

  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.5 156 7/30/2025
1.1.4 293 7/26/2025
1.1.3 97 7/18/2025
1.1.2 171 7/6/2025
1.1.1 124 7/4/2025
1.1.0 171 7/2/2025
1.0.22 141 5/17/2025
1.0.21 152 5/17/2025
1.0.20 173 5/11/2025
1.0.19 159 5/9/2025
1.0.18 181 5/8/2025
1.0.17 192 5/6/2025
1.0.16 175 5/6/2025
1.0.15 144 5/4/2025
1.0.14 201 4/20/2025
1.0.13 205 4/9/2025
1.0.12 204 4/8/2025
1.0.11 202 4/8/2025
1.0.10 188 3/12/2025
1.0.9 258 3/5/2025
1.0.8 270 3/4/2025
1.0.7 156 2/27/2025
1.0.6 152 2/26/2025
1.0.5 158 2/24/2025