using MEF with NHibernate and windsor
        Posted  
        
            by Fran
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Fran
        
        
        
        Published on 2010-05-21T18:07:00Z
        Indexed on 
            2010/05/21
            18:10 UTC
        
        
        Read the original article
        Hit count: 455
        
I have an ASP.net MVC application that is using NHibernate under the covers for data access. I'm using the Windsor container to handle injecting ISession references into each controller.
This works great, but now I'm looking to expand my application with a pluggable architecture so that I can have a core product and specific add-ons. I found a great article on doing this with MEF.
My question is how to make the Windsor container and MEF container, life/work together so that I can achieve this. There was an article (http://codebetter.com/blogs/glenn.block/archive/2009/10/31/should-i-use-mef-with-an-ioc-container.aspx) by Glenn Block that talked about this exact issue. Then end then said that the next article would show you how to do this, but there's no part 2.
Has anyone created an application like this using asp.net mvc, mef, nhibernate, castle windsor?
© Stack Overflow or respective owner