...

/

Updating the Composition Root of Each Module

Updating the Composition Root of Each Module

Explore the streamlining module initialization to facilitate standalone microservice deployment while retaining flexibility for monolithic architecture.

We'll cover the following...

Every module uses a Startup() method to initialize itself to run with the resources that the monolith has provided. Our update will be a small one. We will be moving the code within Startup() to a new Root() function. Then, we create a call to it from ...