Does anyone have any tips or best practices regarding how Autofac can help manage t开发者_StackOverflow社区he NHibernate ISession Instance (in the case of an ASP.NET MVC application)?I\'m not overly f
I\'m running into an issue with Autofac2 and MVC2.The problem is that I am trying to resolve a series of dependencies where the root dependency is HttpRequestScoped.When I try to resolve my UnitOfWork
开发者_StackOverflow社区I have two areas: ControlPanel and Patients. Both have a controller called ProblemsController that are similar in name only. The desired results would be routes that yield /
I\'m trying to resolve the AccountController in my application, but it seems that I have a lifetime scoping issue.
I\'ve got an application where a shared object needs a reference to a per-request object. Shared:Engine
I\'m planning to use Autofac IoC for my project where I must implement auditing (Who, What is doing in application). I was already read a lot of articles on this subject (auditing).
I\'m using Autofac. I want to inject a different implementation of a dependency based on an attribute I apply to the constructor parameter. For example:
I\'ve created a Wcf Service to back a Ajax page (.Net 3.5).It\'s hosted in IIS 6.1 Integrated Pipeline.(The rest of Autofac is setup correctly for Web Forms integration).
I am using Autofac 2.1.12 to handle my dependency injection, and am having trouble with one specific issue. I can\'t seem to resolve a NameValueCollection dependency.
I am upgrading code from Autofac 1.4 to 2.1.10 Release Candidate. My module previously performed registration like this: