CQRSharp 2.0.0

Additional Details

Please note that the intended suite of Native AoT support tools is not present in these releases. Ensure that you have the latest version downloaded for proper AoT support.

There is a newer version of this package available.
See the version list below for details.
dotnet add package CQRSharp --version 2.0.0
                    
NuGet\Install-Package CQRSharp -Version 2.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="CQRSharp" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CQRSharp" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CQRSharp" />
                    
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 CQRSharp --version 2.0.0
                    
#r "nuget: CQRSharp, 2.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.
#addin nuget:?package=CQRSharp&version=2.0.0
                    
Install CQRSharp as a Cake Addin
#tool nuget:?package=CQRSharp&version=2.0.0
                    
Install CQRSharp as a Cake Tool

CQRSharp

NuGet version (CQRSharp) CodeQL

A lightweight, extensible, and attribute-driven Command Query Responsibility Segregation (CQRS) framework for .NET applications.

For more information, please check out the wiki page!


Planned Features

  • Additional order control for the pre- and post-execution attributes via parametrization or other.
  • Enhanced Validation Integration: Seamless integration with popular validation libraries like FluentValidation.
  • Performance Improvements: Optimize the dispatcher and attribute invocation for better performance.
  • Event Publishing: Event publishing mechanisms via RabbitMQ or Kafka for domain event handling.
  • Transactional Behavior: To support atomicity during command execution.
  • Caching: Command idempotency, distributed caching systems & basic in-memory caching.
  • Bulkhead Isolation
  • Dead Letter Queue
  • Tenant-Aware Commands
  • Compensatory Mechanisms + Saga Support: Implement compensatory mechanisms for long-running commands.

Contributing

Contributions are welcome! Please open issues and pull requests for bug fixes, enhancements, or new features.

To contribute:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes.
  4. Submit a pull request.

Please ensure that your code follows the project's coding standards and includes appropriate tests.


License

This project is licensed under the MIT License.


Note: This project is in active development.

Product Compatible and additional computed target framework versions.
.NET 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.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

-Merged the user identification mechanism into the original library
-Created a command identification factory mechanism
-Moved Notification.cs -> Notifications
-Renamed wrongly-named Notification.cs
-Implemented a unified request context.