CqrsPipeline 1.0.0

dotnet add package CqrsPipeline --version 1.0.0                
NuGet\Install-Package CqrsPipeline -Version 1.0.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="CqrsPipeline" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CqrsPipeline --version 1.0.0                
#r "nuget: CqrsPipeline, 1.0.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.
// Install CqrsPipeline as a Cake Addin
#addin nuget:?package=CqrsPipeline&version=1.0.0

// Install CqrsPipeline as a Cake Tool
#tool nuget:?package=CqrsPipeline&version=1.0.0                

CqrsPipeline

CqrsPipeline is a light laibrary for implementing CQRS patern in your software.you can define your command and query objects and send to pipeline, CqrsPipeline send them to that`s handlers

Commands

You can define your commands in three ways:

1 - Inherit from ICommand : For commands that have no output data and only the result of their correct execution or their errors are important

2 - Inherit from ICommand<TData> : For commands that have output data and in addition to the result of their correct execution or their errors, the output data must also be returned

3 - Inherit from ICommand<TResult,TData> : For commands that have output data and in addition to the result of their correct execution or their errors, the output data must also be returned and you want to change the format of the output result and add items to it

Queries

You can define your commands in one ways yet but we are developing new ways for you in next versions:

1 - Inhrit from IQuery<TData>

Validation

CqrsPipeline use FluentValidation library for validating your commands ,You just have to create the validator for commands or queries and CqrsPipeline find them and check on your commands See Validators in FluentValidation

Exception handling

CqrsPipeline has an exception model that if you create exceptions to this model, it will handle it for you and turn it into an error model.

Data access layer

Data access layer is under development

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
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 CqrsPipeline:

Package Downloads
CqrsPipeline.DependencyInjection

A pipe line for cqrs

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 249 5/5/2022