Soenneker.Coordinators.Entities
4.0.409
Prefix Reserved
dotnet add package Soenneker.Coordinators.Entities --version 4.0.409
NuGet\Install-Package Soenneker.Coordinators.Entities -Version 4.0.409
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.409" />
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.409" />
<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.409
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Coordinators.Entities, 4.0.409"
#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.409
#: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.409
#tool nuget:?package=Soenneker.Coordinators.Entities&version=4.0.409
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.1125)
- Soenneker.Dtos.RequestDataOptions (>= 4.0.199)
- Soenneker.Dtos.Results.Paged (>= 4.0.45)
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.409 | 52 | 9/9/2026 |
| 4.0.408 | 54 | 9/8/2026 |
| 4.0.407 | 78 | 9/8/2026 |
| 4.0.406 | 89 | 9/8/2026 |
| 4.0.405 | 79 | 9/8/2026 |
| 4.0.404 | 87 | 9/7/2026 |
| 4.0.403 | 109 | 9/5/2026 |
| 4.0.402 | 87 | 9/5/2026 |
| 4.0.401 | 88 | 9/4/2026 |
| 4.0.400 | 103 | 9/4/2026 |
| 4.0.399 | 110 | 8/31/2026 |
| 4.0.398 | 97 | 8/31/2026 |
| 4.0.397 | 93 | 8/31/2026 |
| 4.0.396 | 90 | 8/31/2026 |
| 4.0.395 | 86 | 8/31/2026 |
| 4.0.394 | 95 | 8/30/2026 |
| 4.0.393 | 106 | 8/30/2026 |
| 4.0.392 | 91 | 8/30/2026 |
| 4.0.390 | 94 | 8/30/2026 |
| 4.0.389 | 88 | 8/30/2026 |
Loading failed
Update dependency Soenneker.Coordinators.Base to 4.0.1125 (#978)