3
In an application using a multi-tier (n-layer) architecture, we have the infrastructure layer where we use an Ioc container to record the required dependencies. In a prototype I’m working on, I’m using the Unity Application Block Unity as a container. As it will be a project that can grow, I would like to be able to separate dependencies by modules. I know that in Ninject it is possible to create these modules by creating a class inheriting from Ninjectmodule and overwriting the Load method. After the creation of these modules it is possible to load them when necessary (one or more modules)
Could anyone tell me if there is something similar in Unity? If there is, could they indicate some example or model?