ArkaSoftware.Framework.Core.Contracts
1.0.0
dotnet add package ArkaSoftware.Framework.Core.Contracts --version 1.0.0
NuGet\Install-Package ArkaSoftware.Framework.Core.Contracts -Version 1.0.0
<PackageReference Include="ArkaSoftware.Framework.Core.Contracts" Version="1.0.0" />
<PackageVersion Include="ArkaSoftware.Framework.Core.Contracts" Version="1.0.0" />
<PackageReference Include="ArkaSoftware.Framework.Core.Contracts" />
paket add ArkaSoftware.Framework.Core.Contracts --version 1.0.0
#r "nuget: ArkaSoftware.Framework.Core.Contracts, 1.0.0"
#:package ArkaSoftware.Framework.Core.Contracts@1.0.0
#addin nuget:?package=ArkaSoftware.Framework.Core.Contracts&version=1.0.0
#tool nuget:?package=ArkaSoftware.Framework.Core.Contracts&version=1.0.0
ArkaSoftware.Framework.Core.Contracts
ArkaSoftware.Framework.Core.Contracts is a library designed to define core abstractions and contracts for application services and data layers. This library supports CQRS (Command Query Responsibility Segregation) and DDD (Domain-Driven Design) principles, focusing on defining interfaces for commands, queries, events, and data management.
Features
- Core interfaces for Commands, Events, and Queries.
- Abstractions for Unit of Work and Repositories.
- Easy integration with any implementation of Application Services.
- Adheres to DDD architecture and SOLID principles.
Project Structure
ApplicationService
Commands:
ICommandDispatcher.cs: Interface for dispatching commands.ICommandHandler.cs: Interface for handling commands.
Events:
IDomainEventDispatcher.cs: Interface for dispatching domain events.IDomainEventHandler.cs: Interface for handling domain events.
Queries:
IQueryDispatcher.cs: Interface for dispatching queries.IQueryHandler.cs: Interface for handling queries.
Data
Commands:
ICommandRepository.cs: Interface for handling command-related data.IDomainEventStore.cs: Interface for storing domain events.IUnitOfWork.cs: Interface for transaction management.
Queries:
IQueryRepository.cs: Interface for querying data.
Installation and Usage
Add this library to your project:
dotnet add package Arks.Framework.Core.ContractsImplement the provided interfaces in your application layer.
Use these abstractions to ensure separation of concerns and testability.
Contribution
If you want to contribute to this project:
- Fork the repository.
- Make your changes.
- Submit a Pull Request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For inquiries or issues, please reach out to your.email@example.com.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net9.0
- Arks.Framework.Core.Domain (>= 1.0.0)
- Arks.Framework.Core.RequestResponse (>= 1.0.0)
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 |
|---|