Hướng dẫn thực hành về Monolith Mô-đun với .NET - Xây dựng Kiến trúc Monolithic Quy mô Web

Tác giả: Charles Chen
Ngày xuất bản: 2025-03-03T00:00:00
Length: 38:56

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

Dịch Vào Lúc: 2025-03-23T12:24:16Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất