Arta.Core
0.0.2
See the version list below for details.
dotnet add package Arta.Core --version 0.0.2
NuGet\Install-Package Arta.Core -Version 0.0.2
<PackageReference Include="Arta.Core" Version="0.0.2" />
<PackageVersion Include="Arta.Core" Version="0.0.2" />
<PackageReference Include="Arta.Core" />
paket add Arta.Core --version 0.0.2
#r "nuget: Arta.Core, 0.0.2"
#:package Arta.Core@0.0.2
#addin nuget:?package=Arta.Core&version=0.0.2
#tool nuget:?package=Arta.Core&version=0.0.2
Arta.Core
Arta.Core is the core engine and default implementation library for the Arta CQRS framework. It contains the dispatcher engine, default handlers, and core abstractions needed to build CQRS-based applications.
Features
- Dispatcher engine for commands and queries
- Default command and query handler implementations
- Support for streaming queries
- Integration with Arta.Abstractions for fully decoupled CQRS
Installation
You can install Arta.Core via NuGet:
dotnet add package Arta.Core
Or via Package Manager:
Install-Package Arta.Core
Usage
1. Register Core services
In your application, register the core services with your dependency injection container using the provided extension method:
var services = new ServiceCollection();
// This method registers the dispatcher and any default core services
services.AddArtaCore();
var serviceProvider = services.BuildServiceProvider();
2. Using the Dispatcher
var dispatcher = serviceProvider.GetRequiredService<IDispatcher>();
// Sending a command
var result = await dispatcher.SendCommandAsync(new MyCommand());
// Sending a query
var queryResult = await dispatcher.SendQueryAsync(new MyQuery());
3. Streaming Queries
await foreach (var item in dispatcher.CreateQueryStreamAsync(new MyStreamingQuery()))
{
Console.WriteLine(item);
}
Requirements
- .NET 8.0 or higher
- Arta.Abstractions (for decoupled contracts)
License
Apache-2.0 © VulcanTech Solutions NZ
Contributing
Feel free to fork the repository and submit pull requests. Unit tests should be included in pull request
Support
For questions or support, open an issue on the GitHub repository.
| 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 was computed. 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
- Arta.Abstractions (>= 0.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.9)
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 |
|---|---|---|
| 0.0.2.2-alpha.2025102603415... | 118 | 10/26/2025 |
| 0.0.2.2-alpha.2025102523492... | 112 | 10/25/2025 |
| 0.0.2.2-alpha.2025102523115... | 108 | 10/25/2025 |
| 0.0.2.1-alpha-20251014 | 187 | 10/14/2025 |
| 0.0.2.1-alpha.2025101606310... | 180 | 10/16/2025 |
| 0.0.2.1-alpha.2025101506500... | 144 | 10/15/2025 |
| 0.0.2.1-alpha | 117 | 10/11/2025 |
| 0.0.2 | 114 | 10/11/2025 |
| 0.0.2-alpha.20251015035641.48 | 150 | 10/15/2025 |
| 0.0.1-alpha.20251011055658.21 | 64 | 10/11/2025 |