Sekiban.Pure.Templates 1.0.10

There is a newer version of this package available.
See the version list below for details.
dotnet new install Sekiban.Pure.Templates::1.0.10
                    
This package contains a .NET Template Package you can call from the shell/command line.

Orleans Sekiban Event Sourcing Sample Project.

how to install from nuget.

dotnet new install Sekiban.Pure.Template

how to make project

dotnet new sekiban-orleans-aspire -n YourProjectName

1. App Host need to add app setting (secrets.json) postgres password.

secrets.json
{
  "Parameters:postgres-password": "your_strong_password"
}

2. Optional : cluster setting etc needs to change by project

AppHost.Program.cs

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)
    // .WithDataVolume() // Uncomment to use a data volume
    .WithPgAdmin()
    .AddDatabase("SekibanPostgres");

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


var apiService = builder.AddProject<OrleansSekiban_ApiService>("apiservice")
    .WithEndpoint("https", annotation => annotation.IsProxied = false)
    .WithReference(postgres)
    .WithReference(orleans);

AppService.Program.cs as well

builder.AddKeyedAzureTableClient("orleans-sekiban-clustering");
builder.AddKeyedAzureBlobClient("orleans-sekiban-grain-state");
builder.UseOrleans(
    config =>
    {
        config.UseDashboard(options => { });
        config.AddMemoryStreams("EventStreamProvider").AddMemoryGrainStorage("EventStreamProvider");
    });

  • 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 161 7/30/2025
1.1.4 298 7/26/2025
1.1.3 103 7/18/2025
1.1.2 176 7/6/2025
1.1.1 129 7/4/2025
1.1.0 176 7/2/2025
1.0.22 146 5/17/2025
1.0.21 157 5/17/2025
1.0.20 178 5/11/2025
1.0.19 164 5/9/2025
1.0.18 186 5/8/2025
1.0.17 198 5/6/2025
1.0.16 180 5/6/2025
1.0.15 149 5/4/2025
1.0.14 206 4/20/2025
1.0.13 213 4/9/2025
1.0.12 209 4/8/2025
1.0.11 207 4/8/2025
1.0.10 193 3/12/2025
1.0.9 263 3/5/2025
1.0.8 275 3/4/2025
1.0.7 161 2/27/2025
1.0.6 157 2/26/2025
1.0.5 164 2/24/2025