ResultKits.MediatR 0.3.1

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

ResultKits.MediatR

MediatR integration with standardized IResult responses and exception-to-result mapping.

Scope

  • Interfaces aligned to IResult: IRequest, IPipelineBehavior<TRequest>, and processor/handler interfaces.
  • Pipelines: CatchAllExceptionsPipeline, CatchExceptionPipeline (internal errors), CatchAbortedPipeline, CatchNotImplementedPipeline, CatchErrorsExceptionPipeline.
  • Exception handlers: abstract bases to handle aborted, not implemented, domain errors, or all exceptions.
  • DI helpers in ResultKits.DependencyInjection.RegisterExtension to wire behaviors.

Behavior

  • Pipelines log and map exceptions to typed errors, enriching context with activity and exception metadata.
  • Requests and handlers exchange IResult, aligning with the core model.

(This file is AI generated.)

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (1)

Showing the top 1 NuGet packages that depend on ResultKits.MediatR:

Package Downloads
ResultKits.MediatR.FluentValidation

MediatR utilities for Results and CQRS processess, mainly for web APIs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.1 243 9/29/2025
0.3.0 225 9/29/2025
0.2.1 219 9/25/2025
0.2.0 225 9/24/2025
0.1.1 361 9/17/2025
0.1.0 338 9/17/2025

View `CHANGELOG.MD`