CQRSharp 2.2.4
See the version list below for details.
dotnet add package CQRSharp --version 2.2.4
NuGet\Install-Package CQRSharp -Version 2.2.4
<PackageReference Include="CQRSharp" Version="2.2.4" />
<PackageVersion Include="CQRSharp" Version="2.2.4" />
<PackageReference Include="CQRSharp" />
paket add CQRSharp --version 2.2.4
#r "nuget: CQRSharp, 2.2.4"
#:package CQRSharp@2.2.4
#addin nuget:?package=CQRSharp&version=2.2.4
#tool nuget:?package=CQRSharp&version=2.2.4
CQRSharp
A lightweight, extensible, and attribute-driven Command Query Responsibility Segregation (CQRS) framework for .NET applications.
For more information, please check out the wiki page!
Contributing
Contributions are welcome! Please open issues and pull requests for bug fixes, enhancements, or new features.
To contribute:
- Fork the repository.
- Create a new branch.
- Make your changes.
- 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 | Versions 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- CQRSharp.Shared (>= 2.2.4)
- Microsoft.Extensions.DependencyInjection (>= 9.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.2)
- Microsoft.Extensions.Hosting (>= 9.0.2)
- Microsoft.Extensions.Logging (>= 9.0.2)
- Microsoft.Extensions.Logging.Console (>= 9.0.2)
-
net9.0
- CQRSharp.Shared (>= 2.2.4)
- Microsoft.Extensions.DependencyInjection (>= 9.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.2)
- Microsoft.Extensions.Hosting (>= 9.0.2)
- Microsoft.Extensions.Logging (>= 9.0.2)
- Microsoft.Extensions.Logging.Console (>= 9.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
2.2.6 | 179 | 4/20/2025 | |
2.2.5 | 140 | 4/11/2025 | |
2.2.4 | 179 | 4/7/2025 | |
2.2.3.1 | 286 | 3/11/2025 | |
2.2.3 | 267 | 3/10/2025 | |
2.2.2 | 310 | 3/8/2025 | |
2.2.0 | 226 | 2/8/2025 | |
2.1.0 | 189 | 1/8/2025 | |
2.0.0 | 215 | 1/2/2025 | |
1.1.6 | 220 | 12/5/2024 | |
1.1.5 | 218 | 10/24/2024 | |
1.1.4 | 222 | 10/11/2024 | |
1.1.3 | 211 | 9/28/2024 | |
1.1.2 | 217 | 9/28/2024 | |
1.1.1 | 217 | 9/24/2024 | |
1.1.0 | 218 | 9/23/2024 | |
1.0.0 | 228 | 9/23/2024 |
🚀 Release Notes for 2.2.4
🔧 Changes
- Replaced string-based detection of handlers and requests with a new attribute-driven approach.
- Improved diagnostic messages (e.g., warnings if a required attribute is missing or if no handlers are found).
- Added new file CQRSharp.Shared.Attributes.RegistrationMarkers.cs providing HandlerTypeAttribute and RequestMarkerAttribute.
- Improved the source code generators drastically - complete Native AoT support for all functionality.
- Complete elimination of reflection in the codebase contributing to AoT support and better performance on runtime.
- All registries that are responsible for mapping out various ConccurentDictionary instances on compile-time now share a very recognizable, and simple pattern, involving IDataRegistrar, Registrar and their respective interfaces and implementations. The code now utilizes ModuleInitializer to run code that binds the Registrar instances to the generated code on runtime.
- Modified all source generator code that involves itself with registering various classes with the DI container to use a unified registrar system. This ensures minimal hard-coding.
- The library now has complete support for custom context types implementations in IRequestContextFactory - earlier, this was locked to a single context type, forcing users to write their own workarounds for creation of context instances.
📂 Breaking Changes?
- The CQRSharp.Kafka project has been fully removed. No built-in Kafka publishing or consumer services remain.
- Minor API shift in RateLimiter tests and usage from RateLimitedContext to IRateLimitedContext. Now all contexts that want to utilize the rate limiter will need to inherit from the IRateLimitedContext, to implement the required parameters for the rate limiter to execute its logic.