|
|
|
|
|
by SideburnsOfDoom
4883 days ago
|
|
Agreed. Is the author's problem with IoC or with XML config? hard to tell, but they're really not the same thing. IoC containers in C# have rejected config in XML, in favour of config in code, using either generics and lambdas (e.g. register Component.For<IFoo>.ImplementedBy<Bar> ) or via scanning (e.g. AllTypes.FromAssembly(x).BasedOn<Foo>().WithService.FirstInterface() ). Spring.net was an exception and in comparison it really sucked. IoC Config in code is much better. But can't this be done in java too? |
|