ASP.NET MVC + fluent nNibernate, what IoC tool?

前端 未结 4 832
渐次进展
渐次进展 2020-12-31 19:00

I\'m working on a ASP.NET MVC project where we have decided to use Fluent nHibernate for dataccess. To enable loose coupling we go for a IoC/DI pattern. My questions is what

4条回答
  •  再見小時候
    2020-12-31 19:24

    I have been using Windsor and love it. There is a built in facility for using NHibernate which allows for simple configuration of logging and connections etc.

    If you plan to use FluentNhibernate you have to tell the Windsor facility which assembly has the ConfigurationBuilder. Mike Hadlow has a great write up on this plus many others on Windsor and NHibernate: http://mikehadlow.blogspot.com/2009/01/integrating-fluent-nhibernate-and.html

提交回复
热议问题