JorgeCostaMacia.DomainEvent
6.0.4
Prefix Reserved
dotnet add package JorgeCostaMacia.DomainEvent --version 6.0.4
NuGet\Install-Package JorgeCostaMacia.DomainEvent -Version 6.0.4
<PackageReference Include="JorgeCostaMacia.DomainEvent" Version="6.0.4" />
<PackageVersion Include="JorgeCostaMacia.DomainEvent" Version="6.0.4" />
<PackageReference Include="JorgeCostaMacia.DomainEvent" />
paket add JorgeCostaMacia.DomainEvent --version 6.0.4
#r "nuget: JorgeCostaMacia.DomainEvent, 6.0.4"
#:package JorgeCostaMacia.DomainEvent@6.0.4
#addin nuget:?package=JorgeCostaMacia.DomainEvent&version=6.0.4
#tool nuget:?package=JorgeCostaMacia.DomainEvent&version=6.0.4
JorgeCostaMacia.DomainEvent
Marker interface (IDomainEvent) for a transport-agnostic domain event — an immutable fact about something that happened in the domain, raised by aggregates. Zero dependencies.
Install
dotnet add package JorgeCostaMacia.DomainEvent
Usage
using JorgeCostaMacia.DomainEvent.Domain;
public record OrderCreated(Guid OrderId) : IDomainEvent;
The domain depends only on this marker — it doesn't know how (or whether) the event travels over a bus. A messaging layer can specialize it (IEvent : IDomainEvent, IMessage, ...) so concrete events fit an aggregate's event list while the domain stays transport-free.
Requirements
One of the following SDKs: .NET 8 / 9 / 10 (.NET 10 recommended).
About
JorgeCostaMacia.DomainEvent is part of shared-net — a set of foundational, self-contained .NET packages, each scoped to a single concern and reusable across your bounded contexts.
- Repository: github.com/JorgeCostaMacia/shared-net
- Issues & requests: open an issue
- Contributing: CONTRIBUTING.md
- Security: report a vulnerability
Author: Jorge Costa Maciá
| 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 (3)
Showing the top 3 NuGet packages that depend on JorgeCostaMacia.DomainEvent:
| Package | Downloads |
|---|---|
|
JorgeCostaMacia.Aggregate
DDD Aggregate Root base that accumulates transport-agnostic domain events (IDomainEvent) for a pull-and-publish unit of work |
|
|
JorgeCostaMacia.Bus.Kafka
Kafka transport for JorgeCostaMacia.Bus — the concrete command/event bus over Confluent.Kafka: message base records, contexts, handler/subscriber bases and the producer/consumer. Reference this one package to use the bus on Kafka. |
|
|
JorgeCostaMacia.Bus.RabbitMQ
RabbitMQ transport for JorgeCostaMacia.Bus — the concrete command/event bus over the official RabbitMQ.Client (v7, async): message base records, contexts, handler/subscriber bases and the producer/consumer. Reference this one package to use the bus on RabbitMQ. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.4 | 115 | 7/22/2026 |
| 6.0.3 | 106 | 7/22/2026 |
| 6.0.2 | 472 | 7/19/2026 |
| 6.0.1 | 222 | 7/15/2026 |
| 6.0.0 | 229 | 7/13/2026 |
| 5.0.0 | 121 | 7/12/2026 |
| 4.3.0 | 112 | 7/12/2026 |
| 4.2.0 | 119 | 7/11/2026 |
| 4.1.0 | 111 | 7/10/2026 |
| 4.0.0 | 124 | 7/9/2026 |
| 3.0.1 | 117 | 7/8/2026 |
| 2.0.8 | 305 | 7/1/2026 |
| 2.0.7 | 121 | 6/30/2026 |
| 2.0.6 | 109 | 6/30/2026 |
| 2.0.5 | 117 | 6/30/2026 |
| 2.0.4 | 125 | 6/30/2026 |
| 2.0.3 | 132 | 6/29/2026 |
| 2.0.2 | 108 | 6/29/2026 |
| 2.0.1 | 103 | 6/29/2026 |
| 2.0.0 | 127 | 6/29/2026 |