At the core of our application, we use Castle Windsor to manage our dependencies. We will download plugins from third parties that can use their own IoC containers. We would like them to get kernel dependencies, for example. through the installation of the designer of basic services, but also get dependencies on their own IoC container.
It seems that if they provided a service provider interface, Windsor could use it to resolve unknown dependencies, ignoring the results (since the lifetime of these components is someone else's business) and continue shipping.
But I'm also sure that there are some great subtleties that arise when you try something like this.
source share