Installing the Payment module into EventHub
A module itself is not a runnable project. It should be installed into a larger application and work as part of it. In this section, we will see how the Payment module is installed in the EventHub solution.
Setting the project dependencies
The Payment module consists of more than 10 projects in its solution (see Figure 15.3). Similarly, the EventHub solution has a lot of projects with three applications – the admin-side, the public, and the account (IdentityServer
) applications.
I want to integrate the Payment module into the EventHub solution in all layers. Typically, each layer of the EventHub solution should depend on (use) the corresponding layer of the Payment module. The following table shows all the dependencies of the EventHub projects to the Payment module projects:
So, we should add project references one by one. For example...