Cross.CQRS 8.2.0-preview.3

This is a prerelease version of Cross.CQRS.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Cross.CQRS --version 8.2.0-preview.3                
NuGet\Install-Package Cross.CQRS -Version 8.2.0-preview.3                
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-preview.3" />                
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-preview.3                
#r "nuget: Cross.CQRS, 8.2.0-preview.3"                
#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-preview.3&prerelease

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

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.

  • 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.3.0 8,167 7/3/2024
8.3.0-preview.6 48 7/3/2024
8.2.2 109 5/16/2024
8.2.2-preview.7 59 5/16/2024
8.2.2-preview.6 57 5/16/2024
8.2.2-preview.5 56 5/16/2024
8.2.1 113 5/15/2024
8.2.1-preview.7 55 5/15/2024
8.2.0 1,474 4/16/2024
8.2.0-preview.5 67 4/16/2024
8.2.0-preview.4 67 4/16/2024
8.2.0-preview.3 72 4/15/2024
8.2.0-preview.2 57 4/15/2024
8.2.0-preview.1 61 4/15/2024
8.1.2 512 4/3/2024
8.1.0 160 4/3/2024 8.1.0 is deprecated because it has critical bugs.
8.0.1 2,723 11/24/2023
8.0.0 177 11/18/2023
7.0.0 40,271 11/18/2023
4.4.4-preview.1 59 5/15/2024
1.0.1 318 11/13/2023
1.0.0 195 11/2/2023

Added IFilter with Behaviour to filter result of query.