Modular monoliths #19786
Unanswered
RaicuRobert
asked this question in
General
Modular monoliths
#19786
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
After implementing my own "framework" to handle the UoW, local bus, CQRS, inbox/outbox etc, I realized how much work goes into it and how much maintenance it requires.
As such I started to explore ABP, looking to replicate the modular monolith I started to build.
In my setup (simplification), I have each bounded context split into: domain, application, API (rest), Data (ef core) ... , and a simple context csproj to bundle everything into a singleton. For DI inside the context I use Autofac.
These contexts are then registered under a single host executable and they share minimal code. The most important would be a local event bus (singleton) which is injected in each context.
I was looking for a similar example in the samples but I either missed it or there isn't any to use the "LocalDistributedEventBus" in a similar manner to my setup.
I would be glad to help build an example if anyone can guide me a bit in the right direction.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions