Kck.Pipeline.Abstractions
3.4.0
dotnet add package Kck.Pipeline.Abstractions --version 3.4.0
NuGet\Install-Package Kck.Pipeline.Abstractions -Version 3.4.0
<PackageReference Include="Kck.Pipeline.Abstractions" Version="3.4.0" />
<PackageVersion Include="Kck.Pipeline.Abstractions" Version="3.4.0" />
<PackageReference Include="Kck.Pipeline.Abstractions" />
paket add Kck.Pipeline.Abstractions --version 3.4.0
#r "nuget: Kck.Pipeline.Abstractions, 3.4.0"
#:package Kck.Pipeline.Abstractions@3.4.0
#addin nuget:?package=Kck.Pipeline.Abstractions&version=3.4.0
#tool nuget:?package=Kck.Pipeline.Abstractions&version=3.4.0
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
// 1. Define a query that opts into caching
public record GetProductQuery(int ProductId)
: IRequest<Product?>, ICachableRequest
{
public string CacheKey => $"product:{ProductId}";
public TimeSpan? CacheTtl => TimeSpan.FromMinutes(10);
public bool BypassCache => false;
}
// 2. Define a command that requires authorization + transaction
public record PlaceOrderCommand(Guid CustomerId, List<OrderLine> Lines)
: IRequest<Order>, ISecuredRequest, ITransactionalRequest
{
public string[] RequiredPermissions => ["orders.create"];
}
// 3. Define a query that should be logged
public record GetAuditLogQuery(Guid EntityId)
: IRequest<IReadOnlyList<AuditEntry>>, ILoggableRequest;
// The behaviors (registered by bundle packages) intercept the pipeline automatically.
// No handler code changes needed.
Configuration
This is a marker-interfaces package — no configuration required. Pipeline behavior implementations are registered by Kck.Pipeline.Mediator or your MediatR pipeline setup.
Resources
| 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. |
-
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.