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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JorgeCostaMacia.DomainEvent" Version="6.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JorgeCostaMacia.DomainEvent" Version="6.0.4" />
                    
Directory.Packages.props
<PackageReference Include="JorgeCostaMacia.DomainEvent" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JorgeCostaMacia.DomainEvent --version 6.0.4
                    
#r "nuget: JorgeCostaMacia.DomainEvent, 6.0.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package JorgeCostaMacia.DomainEvent@6.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=JorgeCostaMacia.DomainEvent&version=6.0.4
                    
Install as a Cake Addin
#tool nuget:?package=JorgeCostaMacia.DomainEvent&version=6.0.4
                    
Install as a Cake Tool

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.

NuGet Downloads Build License


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.

Author: Jorge Costa Maciá

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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
Loading failed