I\'m using Autofac to handle dependency injection in my application. However, I have one component that does some reflection magic at runtime and I don\'t know at compile-time what dependencies it wil
I am working on ASP.NET MVC 3 application. I am using Autofac as my dependency resolver. I have two projects one core and other UI. In the core project I have an interface which holds
Is there a way in Autofac to register a type with a factory delegate that gets called when that type is requested?
I\'m currently looking at the Orchard source code and can\'t find where the NHibernate Session Factory been registered into the AutoFac. Anybod开发者_开发知识库y can help with that?
Is it possible to register components in a way so that they can be resolved based on constructor parameters?
I have a very strange problem with Autofac 2.5.2.830 for .NET 3.5: I user builder.RegisterAssemblyTypes to register the types in my assemblies:
I am trying to get better with IoC,DI and OOD for better testability and looser coupling. So when we design classes with heavy use of IoC and DI we can endup with classes with multiple dependencies f
Im not sure how to state this question, because im not sure where the problem lies. I think its a genetric covariance issue, but the solution might be found somewhere else, maybe in the way the interf
so I think I\'m perhaps not fully understanding how you would use an IOC container for doing Integration tests.
We are running WCF services with net.tcp bindings in IIS 7.5, so we make use of non-HTTP activations and WAS Hosting.We are have created a custom service host factory for each service, which is derive