Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>FYI, just this morning I came across an interesting comparison between all the .NET IoC containers here:</p> <p><a href="http://elegantcode.com/2009/01/07/ioc-libraries-compared/" rel="noreferrer">http://elegantcode.com/2009/01/07/ioc-libraries-compared/</a></p> <p>A handful of questions:</p> <ol> <li><strong>How much mainstream support do you need?</strong> Spring is probably the biggest one out there. Everyone has used it or has heard of it by now, so lots of info. It also probably has the largest number of features, but that means there's just more to learn. A smaller container like Autofac might be nice, but you might come across an issue you won't find help on.</li> <li><strong>Are you handy w/ Xml configuration?</strong> Every IoC container relies on configuration and setup of some sort. Spring and Unity are Xml heavy.</li> <li><strong>Is this a permanent choice?</strong> If you are at one of those places where you only get one shot at a choice, it won't matter. But, if you ever want to choose another solution down the road, you probably don't want an IoC that requires you to attribute your classes (sorta the inverse of the above question) because you'll hate yourself when you have to rip all that stuff out. In comparison, wwapping out some xml config might not be as painful.</li> <li><strong>What's your shop like?</strong> I had trouble pitching a couple open source options just because of the "gasp! it's not Microsoft!" reactions. If you're a straight MS shop, using Unity will be a much easier cultural win.</li> </ol> <p>On a personal note:</p> <p>I've used StructureMap for the same reasons mentioned in the blog I linked. I think Xml config is a giant pain to maintain and, especially, debug (see WCF). I haven't tried Ninject yet, but based on their marketing, it must be super rad!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload