Kck.Pipeline.Abstractions 4.8.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Kck.Pipeline.Abstractions --version 4.8.0
                    
NuGet\Install-Package Kck.Pipeline.Abstractions -Version 4.8.0
                    
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="Kck.Pipeline.Abstractions" Version="4.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kck.Pipeline.Abstractions" Version="4.8.0" />
                    
Directory.Packages.props
<PackageReference Include="Kck.Pipeline.Abstractions" />
                    
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 Kck.Pipeline.Abstractions --version 4.8.0
                    
#r "nuget: Kck.Pipeline.Abstractions, 4.8.0"
                    
#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 Kck.Pipeline.Abstractions@4.8.0
                    
#: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=Kck.Pipeline.Abstractions&version=4.8.0
                    
Install as a Cake Addin
#tool nuget:?package=Kck.Pipeline.Abstractions&version=4.8.0
                    
Install as a Cake Tool

Kck.Pipeline.Abstractions

Pipeline behavior marker interfaces — implement ICachableRequest, ILoggableRequest, ISecuredRequest, or ITransactionalRequest on a command/query to opt into cross-cutting behaviors automatically.

Installation

dotnet add package Kck.Pipeline.Abstractions

Quick Start

using Kck.Pipeline.Abstractions;
using Mediator;

// 1. A query that opts into caching
public sealed record GetProductQuery(int ProductId) : IQuery<Product?>, ICachableRequest
{
    public string CacheKey => $"product:{ProductId}";
    public bool BypassCache => false;
    public string? CacheGroupKey => "products";
    public TimeSpan? SlidingExpiration => TimeSpan.FromMinutes(10);
}

// 2. A command that requires a role and runs in a transaction
public sealed record PlaceOrderCommand(Guid CustomerId, IReadOnlyList<Guid> ProductIds)
    : ICommand<Guid>, ISecuredRequest, ITransactionalRequest
{
    public string[] Roles => ["customer"];
}

// 3. A command that is logged
public sealed record CancelOrderCommand(Guid OrderId) : ICommand, ILoggableRequest;

// The Kck.Pipeline.Mediator behaviors (AddKckMediatorPipeline) act on these markers; requests without a marker skip
// the matching behavior.

Configuration

This is a marker-interfaces package — no configuration required. Pipeline behavior implementations are registered by Kck.Pipeline.Mediator.

Resources

Product 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

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Kck.Pipeline.Abstractions:

Package Downloads
Kck.Core.Abstractions

Core domain primitives for the Kck framework. Provides Entity<TId>/AuditableEntity<TId>/FullEntity<TId> hierarchy, Result<T>/Error pattern, Paginate<T> pagination, domain events, and pipeline marker interfaces.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0 418 11/2/2026
4.8.0 772 10/31/2026
Loading failed