DISQUS

Emad Ibrahim: The Best IoC Container?

  • Chad Myers · 1 year ago
    Of course I'm biased (I sit next to the creator/maintainer every day), but +1 on StructureMap.

    Windsor is a good choice, too. Don't know much about Autofac, but I've heard a few good things about it.

    Avoid Spring.NET, though. I started out with it, it was easy to get going, but it falls apart on IoC features very fast.
  • Matt · 1 year ago
    http://ninject.org/ is nice to work with.
  • Shane Bauer · 1 year ago
    StructureMap is a good choice. I would have gone with StructureMap or Windsor, personally.
  • Nicholas Blumhardt · 1 year ago
    Hi Emad,

    Any suggestions for making Autofac more approachable? Documentation is an endless task, but I'd love to know where the API might be improved to make it more 'discoverable'.. :)

    Cheers,

    Nick
  • eibrahim · 1 year ago
    I don't have anything specific. But a small suggestion, I wasn't sure which
    version to use. One version said Release 1.2.7 for .net 2.0 and the other
    said Release 1.2.7... Which .net version is that one? 1? 1.1? 3.0? 3.5? I
    assumed it was 3.5 and downloaded that one.

    Also when I tried to integrate it into my asp.net mvc project according to
    your wiki on MvcIntegration, I am supposed to reference
    Autofac.Integration.Web.Mvc.dll - which is no where to be found and there
    was no link to download it anywhere...

    So, I figured if things are going to be that hard to get started and find
    things, they will be a lot harder when I have a serious issue down the road.

    I hope that helps.

    PS: I am willing to give it another shot if you can point me in the right
    direction.
  • Nicholas Blumhardt · 1 year ago
    Hi Emad,

    Thanks for the suggestions. I've updated the name of the download to "Release 1.2.7 for .NET 3.5" (your assumption was correct.)

    Regarding Autofac.Integration.Web.Mvc.dll - it is in the /bin folder contained within the zip file (featured on the front page - should have been the file you downloaded.) All of the Autofac assembiles should be included in the same download.

    I'd love to hear how you go if you have another shot. The http://groups.google.com/group/autofac group is always a good place to ask any questions you come up with.

    Cheers!

    Nick