Soenneker.Coordinators.Entities
4.0.426
Prefix Reserved
dotnet add package Soenneker.Coordinators.Entities --version 4.0.426
NuGet\Install-Package Soenneker.Coordinators.Entities -Version 4.0.426
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Coordinators.Entities" Version="4.0.426" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Coordinators.Entities" Version="4.0.426" />
<PackageReference Include="Soenneker.Coordinators.Entities" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Coordinators.Entities --version 4.0.426
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Coordinators.Entities, 4.0.426"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Coordinators.Entities@4.0.426
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Coordinators.Entities&version=4.0.426
#tool nuget:?package=Soenneker.Coordinators.Entities&version=4.0.426
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Coordinators.Entities
Defines a generic CRUD coordinator contract and an abstract base class for application-specific entity coordinators.
Install
dotnet add package Soenneker.Coordinators.Entities
Implement a coordinator
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Soenneker.Coordinators.Entities;
using Soenneker.Coordinators.Entities.Abstract;
public sealed class CustomerCoordinator : EntitiesCoordinator<CustomerRequest, CustomerResponse>
{
private readonly ICustomerRepository _repository;
public CustomerCoordinator(
IConfiguration configuration,
ILogger<CustomerCoordinator> logger,
ICustomerRepository repository)
: base(configuration, logger)
{
_repository = repository;
}
public override ValueTask<CustomerResponse> Get(string id, CancellationToken cancellationToken = default)
{
return _repository.Get(id, cancellationToken);
}
}
The base methods are virtual and throw NotSupportedException. Override every operation your coordinator supports; leaving a method unchanged explicitly makes that operation unsupported.
Registration
This package does not register open or closed generic services. Register each application implementation explicitly:
services.AddScoped<
IEntitiesCoordinator<CustomerRequest, CustomerResponse>,
CustomerCoordinator>();
Contract
| API | What it does | Result / important behavior |
|---|---|---|
Get(id, cancellationToken) |
Retrieves one entity | TResponse |
GetAll(options, cancellationToken) |
Retrieves a filtered, sorted, or paged collection as interpreted by the implementation | PagedResult<TResponse> |
Create(request, cancellationToken) |
Creates an entity | TResponse |
Update(id, request, cancellationToken) |
Updates an entity | TResponse |
Delete(id, cancellationToken) |
Deletes an entity | Completion only |
Practical notes
- The base class supplies protected
ConfigandLoggerproperties throughSoenneker.Coordinators.Base; it has no repository dependency or persistence behavior. RequestDataOptionsis only part of the contract. Filtering, sorting, paging, and validation are the implementation's responsibility.- Cancellation tokens must be forwarded by overrides to their underlying database, HTTP, or queue operations.
- Decide and document each implementation's not-found, conflict, validation, and concurrency behavior; the generic contract does not prescribe them.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Soenneker.Coordinators.Base (>= 4.0.1136)
- Soenneker.Dtos.RequestDataOptions (>= 4.0.208)
- Soenneker.Dtos.Results.Paged (>= 4.0.49)
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 |
|---|---|---|
| 4.0.426 | 76 | 9/16/2026 |
| 4.0.425 | 47 | 9/16/2026 |
| 4.0.424 | 44 | 9/16/2026 |
| 4.0.423 | 64 | 9/15/2026 |
| 4.0.422 | 73 | 9/15/2026 |
| 4.0.421 | 101 | 9/13/2026 |
| 4.0.420 | 91 | 9/13/2026 |
| 4.0.419 | 94 | 9/13/2026 |
| 4.0.418 | 88 | 9/12/2026 |
| 4.0.417 | 94 | 9/12/2026 |
| 4.0.416 | 90 | 9/12/2026 |
| 4.0.414 | 93 | 9/12/2026 |
| 4.0.413 | 96 | 9/12/2026 |
| 4.0.411 | 92 | 9/12/2026 |
| 4.0.410 | 90 | 9/12/2026 |
| 4.0.409 | 123 | 9/9/2026 |
| 4.0.408 | 108 | 9/8/2026 |
| 4.0.407 | 100 | 9/8/2026 |
| 4.0.406 | 110 | 9/8/2026 |
| 4.0.405 | 97 | 9/8/2026 |
Loading failed
Updated NuGet packages