IoC with Windsor Container part IV live

The fourth and last article of the series about IoC is online and available for reading here. Any feedback is welcome, and please rate the article! Each article links the other articles of the series so the reading should be straight from beginning to end.

kick it on DotNetKicks.com

Published 30 August 2007 11:54 AM by simoneb
Filed under: ,

Comments

# Steve Gentile said on 06 September, 2007 05:11 PM
Simone I have a question: I'm using some ideas from your article and posted a question I had in the Castle forum: http://forum.castleproject.org/viewtopic.php?t=3433 I haven't recieved a response but was wondering if you have come across this before? Basically I'm using the Hashtable to pass in certain parameters, but not all the parameters. It's appears if I only pass some and try to let the config handle the others that it fails. Does passing in the hashtable override then the use of the config ? Thanks - great articles!!!
# simoneb said on 06 September, 2007 05:28 PM

I didn't incur in this issue before, but as for Windsor docs (http://castleproject.org/container/documentation/trunk/advanced/dependenciesadv.html) dependencies supplied inline have precedence over the ones registered in the configuration file.

As far as I can see this is a all-or-none mechanism, say, one option excludes the others, so you can't get some dependencies from one place and some others from another place. This is definitely something which could be improved, I suggest you to fill a Jira issue here: http://support.castleproject.org/

This site

Search

Go

This Blog

News

Syndication

Sponsors

  • MaximumASP