Arkn.Core
0.3.2
dotnet add package Arkn.Core --version 0.3.2
NuGet\Install-Package Arkn.Core -Version 0.3.2
<PackageReference Include="Arkn.Core" Version="0.3.2" />
<PackageVersion Include="Arkn.Core" Version="0.3.2" />
<PackageReference Include="Arkn.Core" />
paket add Arkn.Core --version 0.3.2
#r "nuget: Arkn.Core, 0.3.2"
#:package Arkn.Core@0.3.2
#addin nuget:?package=Arkn.Core&version=0.3.2
#tool nuget:?package=Arkn.Core&version=0.3.2
Arkn.Core
Conventions you can read. Patterns you can enforce.
Domain primitives for clean software design — zero external dependencies.
What's included
| Type | Description |
|---|---|
IEntity<TId> |
Base interface for domain entities with a typed identity |
IValueObject |
Marker for value objects with structural equality |
IAggregateRoot |
Marks the root of a domain aggregate |
IError |
Structured error contract: Code, Message, Type, Metadata |
ErrorType |
Enum: Failure, NotFound, Validation, Conflict, Unauthorized, Forbidden |
Install
dotnet add package Arkn.Core
Quick example
public class Order : IEntity<Guid>, IAggregateRoot
{
public Guid Id { get; }
public IReadOnlyList<OrderItem> Items { get; }
public Order(Guid id) => Id = id;
}
public record Money(decimal Amount, string Currency) : IValueObject;
Part of the Arkn ecosystem
github.com/fernando-terra/arkn · nuget.org/packages/Arkn.Core
| 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 is compatible. 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Arkn.Core:
| Package | Downloads |
|---|---|
|
Arkn.Logging
Structured, sink-pluggable logging for Arkn — zero external dependencies. |
|
|
Arkn.Results
Result Pattern for modern .NET — explicit success/failure without exceptions. Zero external dependencies. |
|
|
Arkn.Jobs
Zero-dependency job scheduling for .NET 10 — cron, retry, timeout and structured logs per run. |
|
|
Arkn.Http
Fluent, typed HTTP client for modern .NET — returns Result<T> natively. Zero external dependencies. |
|
|
Arkn.Repository
Advanced repository patterns and specifications for Arkn. Agnostic data access abstractions. |
GitHub repositories
This package is not used by any popular GitHub repositories.