CqrsPipeline 1.0.0
dotnet add package CqrsPipeline --version 1.0.0
NuGet\Install-Package CqrsPipeline -Version 1.0.0
<PackageReference Include="CqrsPipeline" Version="1.0.0" />
paket add CqrsPipeline --version 1.0.0
#r "nuget: CqrsPipeline, 1.0.0"
// 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 | Versions 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. |
-
.NETCoreApp 3.1
- FluentValidation (>= 11.0.0)
- FluentValidation.DependencyInjectionExtensions (>= 11.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.1)
-
net5.0
- FluentValidation (>= 11.0.0)
- FluentValidation.DependencyInjectionExtensions (>= 11.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.1)
-
net6.0
- FluentValidation (>= 11.0.0)
- FluentValidation.DependencyInjectionExtensions (>= 11.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.1)
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 | 272 | 5/5/2022 |