net8.0net9.0
EventStore support for .NET Aspire.
Published
Apr 23, 2025
1y ago
Total Downloads
64.2K
64,230
Install
dotnet add package CommunityToolkit.Aspire.Hosting.EventStore --version 9.4.1-beta.271
| Product | Versions |
|---|---|
| .NET |
README
CommunityToolkit.Aspire.Hosting.EventStore library
Provides extension methods and resource definitions for the .NET Aspire app host to support running EventStore containers.
Getting Started
Install the package
In your app host project, install the package using the following command:
dotnet add package CommunityToolkit.Aspire.Hosting.EventStore
Example usage
Then, in the Program.cs file of app host, add a EventStore resource and consume the connection using the following methods:
var builder = DistributedApplication.CreateBuilder(args);
var eventstore = builder.AddEventStore("eventstore");
var myService = builder.AddProject<Projects.MyService>()
.WithReference(eventstore);
builder.Build().Run();
Additional Information
https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-eventstore
Feedback & contributing
Changes from Previous Version
No structural changes between v9.4.1-beta.270 and v9.4.1-beta.271.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.