3 Answer(s)
-
0
Hi,
Castle Windsor, probably most mature and feature-rich DI library. No reason. You could ask same questionif I have chosen Autofac :)
No, it's not planned to change it in near future since it's a fundamental library ABP depends on and not easy to change. But, in most cases you will not even think about DI container. ABP abstracts and automates it.
-
0
I am doing an application based on some existing business logic layer that had used autofac for DI. This is shared with some existing web apps and webapi services.
Question is, whether autofac could work together with castle windsor ? or will I have to change existing to use castle ? Any suggestions on this please ? -
0
Hi,
Actually, your business layer should not be depend on any DI framework. If your code only use constructor and property injection, no problem, it will work for Windsor also. You may try to mix two frameworks but you may face with some problems (I don't know what they are but there is a potantial for problems).