Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README to use correct KurrentDB type names and GitHub links
Co-authored-by: aaronpowell <[email protected]>
  • Loading branch information
Copilot and aaronpowell committed Oct 16, 2025
commit b3706a4baacf93b2c8af7d46e63bb7ff0c3c74e2
10 changes: 5 additions & 5 deletions src/CommunityToolkit.Aspire.KurrentDB/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CommunityToolkit.Aspire.KurrentDB

Registers an [EventStoreClient](https://github.com/EventStore/EventStore-Client-Dotnet) in the DI container for connecting to KurrentDB.
Registers an [KurrentDBClient](https://github.com/kurrent-io/KurrentDB-Client-Dotnet) in the DI container for connecting to KurrentDB.

## Getting started

Expand All @@ -18,7 +18,7 @@ dotnet add package CommunityToolkit.Aspire.KurrentDB

## Usage example

In the _Program.cs_ file of your project, call the `AddKurrentDBClient` extension method to register an `EventStoreClient` for use via the dependency injection container. The method takes a connection name parameter.
In the _Program.cs_ file of your project, call the `AddKurrentDBClient` extension method to register an `KurrentDBClient` for use via the dependency injection container. The method takes a connection name parameter.

```csharp
builder.AddKurrentDBClient("kurrentdb");
Expand Down Expand Up @@ -94,18 +94,18 @@ The `WithReference` method configures a connection in the `MyService` project na
builder.AddKurrentDBClient("kurrentdb");
```

Then, in your service, inject `EventStoreClient` and use it to interact with the KurrentDB API:
Then, in your service, inject `KurrentDBClient` and use it to interact with the KurrentDB API:

```csharp
public class MyService(EventStoreClient eventStoreClient)
public class MyService(KurrentDBClient eventStoreClient)
{
// ...
}
```

## Additional documentation

- https://github.com/EventStore/EventStore-Client-Dotnet
- https://github.com/kurrent-io/KurrentDB-Client-Dotnet
- https://www.kurrent.io
- https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-kurrentdb

Expand Down