The Description I had a legacy type that is HttpRequestScoped and a legacy web service consuming that service. To resolve services in legacy concerns, I have a global resolver. This was all working we
I am trying to use Autofac and Autofac.Integrations.Web to register ASP.NET MVC controllers. I am currently using assembly scanni开发者_如何学Cng to find the controllers but one of them needs a specia
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I\'m currently learning how to use Autofac, and I\'m stuck with disposing IDisposable objects deterministically. Let me first present the situation before I\'ll state my problem.
I added the ASP.NET MVC 2 RC2 source code to my solution (using these instructions: http://blog.stevensanderson.com/2009/02/03/using-the-aspnet-mvc-source-code-to-debug-your-app/), but now it won\'t b
In my current solution I have 18 projects and most of them have their own configuration files (app.config or web.config). Each project uses single shared BLL assembly. I\'m using Autofac to handle dep
I have a Presenter that takes a Service and a View Contract as parameters in its constructor: public FooPresenter : IFooPresenter {
I have a wrapper on ModelStateDictionary which all my services accept. Is it possible to configure the autofac to inject the controller ModelStateDictionary into the constructor of the wrapper and the
The documentation for Autofac has an interesting page describing its ability to automatically generate delegate 开发者_如何学编程factories. It also strongly suggests that you can get similar results w
i\'m trying to inject stuff into a custom ViewPage (ModelViewPage, from MvcContrib) public class ValidatedModelViewPage<T> : ModelViewPage<T> where T : class