YuckQi.Application.Core 10.0.2

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

YuckQi.Application.Core

A .NET library for bootstrapping a domain application project. Provides Mediator pipeline behaviors for logging and validation with FluentValidation integration.

Key Types

Abstractions

  • IHasCacheInvalidationKeys – aspect marker for Mediator response types that trigger cache invalidation; exposes CacheKeys (IReadOnlySet<String>) to remove after the handler runs
  • IHasCacheKey – aspect marker for cacheable Mediator messages (IMessage) with a cache key
  • IHasValidationResults – aspect marker for Mediator response types that carry validation results; exposes ValidationResults (IReadOnlyCollection<Result>) for validation behavior

Behaviors

Pipeline behaviors are organized by purpose in subfolders and namespaces:

Caching (YuckQi.Application.Core.Behaviors.Caching)

  • DistributedCacheInvalidationBehavior<TRequest, TResponse> – Removes keys from IDistributedCache after the handler runs when TResponse implements IHasCacheInvalidationKeys
  • DistributedCachingBehavior<TRequest, TResponse> – Uses IDistributedCache to cache responses for cacheable requests; configuration via DistributedCachingBehaviorOptions record (same file)
  • MemoryCacheInvalidationBehavior<TRequest, TResponse> – Removes keys from IMemoryCache after the handler runs when TResponse implements IHasCacheInvalidationKeys
  • MemoryCachingBehavior<TRequest, TResponse> – Uses IMemoryCache to cache responses for cacheable requests; configuration via MemoryCachingBehaviorOptions record (same file)

Logging (YuckQi.Application.Core.Behaviors.Logging)

  • LoggingBehavior<TRequest, TResponse> – Logs message handling start and completion

Validation (YuckQi.Application.Core.Behaviors.Validation)

  • ValidationResponse / ValidationResponse<T> – recommended Mediator TResponse for use with ValidationBehavior. Implements IHasValidationResults. On validation failure the behavior returns new ValidationResponse / new ValidationResponse<T> { ValidationResults = … } with Value left null; on success handlers return the envelope with Value set. Keep payload/T free of validation concerns (and free of the new() constraint), so required members on payloads remain valid.
  • ValidationBehavior<TRequest, TResponse> – Runs FluentValidation validators and short-circuits on error when TResponse implements IHasValidationResults (prefer ValidationResponse / ValidationResponse<T> as TResponse)

Dependencies

Installation

dotnet add package YuckQi.Application.Core
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.

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
10.0.2 87 7/24/2026
10.0.1 90 7/23/2026
10.0.0 90 7/23/2026
8.7.0 98 7/22/2026
8.6.0 107 7/1/2026
8.5.1 146 3/18/2026
8.5.0 136 3/17/2026
8.4.0 122 3/10/2026
8.3.2 121 3/9/2026
8.3.1 129 3/9/2026
8.3.0 123 3/9/2026
6.4.0 286 9/18/2023
6.2.0 362 3/23/2023
6.1.0 563 8/16/2022
6.0.4 602 6/7/2022
6.0.3 585 5/30/2022
6.0.2 574 5/29/2022
6.0.1 602 5/29/2022
6.0.0 618 4/12/2022
1.0.1 604 6/7/2022
Loading failed