Inversion of control - XML or Fluent API?
I've just started using Inversion of Control containers and I'm having a difficult time understanding when to use the fluent API or XML when configuring and registering components.

Are there any best practices around when you should prefer one over the other?  Or is this simply developer preference?  Would it be considered bad practice to mix them in a simple application?

Thanks!
Inversion of control - XML or Fluent API?
===

I've just started using Inversion of Control containers and I'm having a difficult time understanding when to use the fluent API or XML when configuring and registering components.

Are there any best practices around when you should prefer one over the other?  Or is this simply developer preference?  Would it be considered bad practice to mix them in a simple application?

Thanks!