We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
A Practical Guide to Modular Monoliths with .NET - Build Web Scale Monolithic Architectures
Summary
Description
Stuck in #microservice hell? In this video, we'll take a practical look at how to build a modular monolith in #dotnet that affords a lot of the benefits of microservices at deployment in terms of independent scaling and security boundaries while still enabling the superior DX of monolithic codebases.
We explore an approach using the .NET runtime and C#, but this general approach is applicable to any platform and language using a similar approach of assigning "roles" to identical containers at runtime.
With .NET, it's easy to do this using the generic host model and dynamically loading services -- both background workers and API controllers -- at runtime based on configuration. This way, we can write out code in one logical, monolithic codebase and deploy as separate modules using just 1 or 2 container images.
- Blog post: https://chrlschn.dev/blog/2024/01/a-practical-guide-to-modular-monoliths/
- Medium article: https://chrlschn.medium.com/a-practical-guide-to-modular-monoliths-with-net-59da23c01137
- Google Slides presentation: https://docs.google.com/presentation/d/1rZUXGtdb7gTU5Ywvf80wlDddJAUp808-EHfJjhDPOU0/edit?usp=sharing
- The Google paper: https://dl.acm.org/doi/10.1145/3593856.3595909
Translated At: 2025-03-23T12:24:16Z