To achieve testability in modular software we need to leverage the Dependency Inversion Principle (DIP) up to the level of application architecture. That was the reasoning behind introducing the concept of Infrastructure-Modules. When we extract all the infrastructure code from Business-Modules, they can stay focused on the business logic and have no design/compile-time dependencies on any untestable infrastructure code. As a side effect, we achieve Separation of Concerns.
“Again, there’s a lot of subtlety here behind the curtain,” Karp acknowledged. “I’ve been heavily involved in that subtlety—what can be deployed, where it can be deployed.”
,详情可参考heLLoword翻译官方下载
Материалы по теме:
src/Moongate.Server/Http: embedded ASP.NET Core host service used by the server bootstrap.