Arks.Framework.Core.Domain
2.0.0
dotnet add package Arks.Framework.Core.Domain --version 2.0.0
NuGet\Install-Package Arks.Framework.Core.Domain -Version 2.0.0
<PackageReference Include="Arks.Framework.Core.Domain" Version="2.0.0" />
<PackageVersion Include="Arks.Framework.Core.Domain" Version="2.0.0" />
<PackageReference Include="Arks.Framework.Core.Domain" />
paket add Arks.Framework.Core.Domain --version 2.0.0
#r "nuget: Arks.Framework.Core.Domain, 2.0.0"
#:package Arks.Framework.Core.Domain@2.0.0
#addin nuget:?package=Arks.Framework.Core.Domain&version=2.0.0
#tool nuget:?package=Arks.Framework.Core.Domain&version=2.0.0
ArkaSoftware.Framework.Core.Domain
ArkaSoftware.Framework.Core.Domain is a library designed to provide core domain building blocks for implementing Domain-Driven Design (DDD) in .NET applications. It includes essential classes and interfaces for aggregates, entities, value objects, domain events, and exceptions.
Features
- Core abstractions for Aggregate Roots and Entities.
- Support for Value Objects with built-in examples (e.g., BusinessID, Description, Image).
- Interfaces for Auditable Entities and Domain Events.
- Domain-specific exceptions for robust error handling.
- Designed for seamless integration with DDD-based applications.
Project Structure
Aggregates
- AggregateRoot.cs: Base class for aggregate roots.
- IAggregateRoot.cs: Interface for aggregate roots.
Entities
- Entity.cs: Base class for domain entities.
- IAuditableEntity.cs: Interface for auditable entities.
Events
- IDomainEvent.cs: Interface for domain events.
Exceptions
- DomainStateException.cs: Exception for invalid domain state.
- InvalidEntityStateException.cs: Exception for invalid entity state.
- InvalidValueObjectStateException.cs: Exception for invalid value object state.
Value Objects
- BaseValueObjs.cs: Base class for value objects.
- BusinessID.cs: Example value object for representing business IDs.
- Description.cs: Example value object for entity descriptions.
- Image.cs: Example value object for images.
- PlId.cs: Example value object for unique identifiers.
Installation and Usage
Add this library to your project:
dotnet add package Arks.Framework.Core.DomainUse the provided base classes and interfaces to define your domain layer.
Implement domain-specific logic using aggregates, entities, and value objects.
Handle domain events using the
IDomainEventinterface.
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 | 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
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Arks.Framework.Core.Domain:
| Package | Downloads |
|---|---|
|
Arks.Framework.Infra.Data.MSSQL.Command
Infrastructure library for MSSQL command handling using Entity Framework Core. Provides base classes, extensions, interceptors, and value converters for efficient database interactions. |
|
|
Arks.Framework.Core.Contracts
A library defining core abstractions and contracts for .NET application services and data layers, supporting CQRS and DDD principles. |
|
|
Arks.Framework.Endpoints.Web
A library for building robust and standardized web endpoints in .NET applications. Includes base controllers, middleware, filters, and extensions for simplifying API development. |
GitHub repositories
This package is not used by any popular GitHub repositories.