---
title: "Discussion on \"3 Ways of dispatching Domain Events\" | Hashnode"
description: "Discussion on \"3 Ways of dispatching Domain Events\". Let's say you are implementing an event sourcing solution, where you send domain events to aggregates to achieve their final state. The pseudo-code might look like this.\nvar aggregate = new Person { Id = 1 };\n\nforeach (var @event in domainEvents)\n{\n ..."
url: "https://hashnode.com/posts/3-ways-of-dispatching-domain-events/68dada78bf7a5b657a482a8c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [3 Ways of dispatching Domain Events](https://aschommer.hashnode.dev/3-ways-of-dispatching-domain-events?utm_source=hashnode&utm_medium=feed)

Let's say you are implementing an event sourcing solution, where you send domain events to aggregates to achieve their final state. The pseudo-code might look like this. var aggregate = new Person { Id = 1 }; foreach (var @event in domainEvents) { ...

Sep 29, 2025 · 3 min read · aschommer.hashnode.dev  
Read the article

-   [#event-sourcing](https://hashnode.com/tag/event-sourcing)
-   [#dynamic](https://hashnode.com/tag/dynamic)
-   [#csharhp](https://hashnode.com/tag/csharhp)
-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)

## Written by

[Andreas Schommer](https://hashnode.com/@aschommer)

@aschommer · Meerbusch, NRW

  
[View profile](https://hashnode.com/@aschommer)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
