StructureMap has the ability to apply conventi开发者_StackOverflowons when scanning. Thus IFoo => Foo, without explicit registration.
What is the开发者_StackOverflow best approach to managing NHibernate transaction using Autofac within web application?
I seem to have a problem - rather unexpected; so I guess I might be doing something silly/wrong. I register two container scoped services as such: