At work, we use a lot of Unity. This is great in this work, but the more you use it, the more your configuration file grows, the more problems increase during work, and the more you have to recreate your unity configuration for each test project.
So, we have a configuration section with huge unity that needs to be duplicated across several projects, and when the time comes for deployment, you will have to track the DLLs for which you forgot to add links, but you only find these at runtime. Not fun.
I assume someone has run into this problem and has a solution. Ideally, I would like to figure out how to configure Unity in such a way as to use the configuration convention and reduce run-time problems (i.e. huge configuration files). Does anyone know of a good way to implement Unity with a minimal configuration?
Edit: One thing: I should only stick to Unity. Unable to switch to Ninject, etc.
c # ioc-container unity-container configuration
Don fitz
source share