Cross.CQRS 8.2.0

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

// Install Cross.CQRS as a Cake Tool
#tool nuget:?package=Cross.CQRS&version=8.2.0

Nuget Documentation

Cross.CQRS

Simple .NET MediatR base Query, Command, Event and Validation.

Event Queue and Validation behaviors written on C#.

Main Features:

  • Queries, and QueryHandlers.

    Implemented base patterns to work with Queries. The Queries used just to get any data.

  • Commands and CommandHandlers.

    Implemented base patterns to work with Commands. The Commands used to modify entities.

  • Events, EventHandlers, EventWriter and EventReader.

    Implemented base patterns to crate Events, approach how to write a new Events from the Commands, consuming patterns and behavior to handle it. The main idea is to do some actions after the Commands have to be finished, to avoid cases when one Command call another one.

  • Filters.

    Here included filter behavior based on RequestFilter and ResultFilter. The RequestFilter allow to filter Queries and Commands requests before their execution. The ResultFilter allow to filter Queries and Commands results after their execution.

  • Validation.

    Here included validation behavior based on FluentValidation, that allow to validate Queries and Command before their execution.

  • .NET frameworks and Source Linking.

    From version 1.0 repository contains .NET Standard 2.0, .NET 6, .NET 7 and .NET 8 projects. Source linking enabled and symbol package is published to nuget symbols server, making debugging easier.

Install with nuget.org:

https://www.nuget.org/packages/Cross.CQRS

Installation

Clone repository or Install Nuget Package

Install-Package Cross.CQRS

Issues and Pull Request

Contribution is welcomed. If you would like to provide a PR please add some testing.

How To's

Please use Wiki for documentation and usage examples.

Complete usage examples can be found in the test project

Note - test project is not a part of nuget package. You have to clone repository.

Roadmap:

  • Queries implementation
  • Commands Implementation
  • Validation behavior (based on FluentValidation)
  • Events
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  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 is compatible.  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 is compatible.  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.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 Cross.CQRS:

Package Downloads
Cross.CQRS.EF

Simple .NET MediatR base EF Transactional Behavior, Paginated Queries, Paginated Models. Written on C#.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.2.0 248 4/16/2024
8.2.0-preview.5 45 4/16/2024
8.2.0-preview.4 43 4/16/2024
8.2.0-preview.3 48 4/15/2024
8.2.0-preview.2 43 4/15/2024
8.2.0-preview.1 40 4/15/2024
8.1.2 426 4/3/2024
8.1.0 132 4/3/2024
8.0.1 2,601 11/24/2023
8.0.0 143 11/18/2023
7.0.0 8,236 11/18/2023
1.0.1 289 11/13/2023
1.0.0 170 11/2/2023

Added IRequestFilter with Behaviour to filter request of query or command.
     Added IResultFilter with Behaviour to filter result of query or command.