DISQUS

DISQUS Hello! Emad Ibrahim is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

The Best IoC Container?

Started by eibrahim · 10 months ago

As I previously mentioned in my post “The Best JavaScript Library“, I am in the process of developing an application/writing a book.  I will be using asp.net MVC and a TDD approach to the application and book.  As I have done with the JavaScript framework select ... Continue reading »

6 comments

  • 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.
  • http://ninject.org/ is nice to work with.
  • StructureMap is a good choice. I would have gone with StructureMap or Windsor, personally.
  • 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
  • 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.
  • 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

Add New Comment

Returning? Login