Soenneker.Coordinators.Entities 11.0.491

Prefix Reserved
dotnet add package Soenneker.Coordinators.Entities --version 11.0.491
                    
NuGet\Install-Package Soenneker.Coordinators.Entities -Version 11.0.491
                    
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="11.0.491" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Coordinators.Entities" Version="11.0.491" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Coordinators.Entities" />
                    
Project file
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 11.0.491
                    
#r "nuget: Soenneker.Coordinators.Entities, 11.0.491"
                    
#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@11.0.491
                    
#: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=11.0.491
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Coordinators.Entities&version=11.0.491
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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 Config and Logger properties through Soenneker.Coordinators.Base; it has no repository dependency or persistence behavior.
  • RequestDataOptions is 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 Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
11.0.491 84 11/18/2026
11.0.490 52 11/18/2026
11.0.487 46 11/18/2026
11.0.486 108 11/14/2026
11.0.485 168 11/11/2026
11.0.484 92 11/11/2026
11.0.483 103 11/11/2026
11.0.482 92 11/11/2026
11.0.481 87 11/11/2026
11.0.480 92 11/11/2026
11.0.479 98 11/11/2026
11.0.478 99 11/11/2026
11.0.477 89 11/10/2026
11.0.476 348 10/27/2026
11.0.475 106 10/27/2026
11.0.474 112 10/27/2026
11.0.473 96 10/26/2026
11.0.472 105 10/26/2026
11.0.470 95 10/26/2026
11.0.469 96 10/26/2026
Loading failed

Update dependency Soenneker.Dtos.RequestDataOptions to 11.0.255 (#1093)