This project is read-only.

AsyncControllers in Orchard

Topics: Customizing Orchard, General, Writing modules
Jun 22, 2011 at 4:55 AM

Is there any reason why an AsyncController wouldn't work in Orchard, or is there something special i have to do to make them work?

Jun 23, 2011 at 5:37 AM

Is there something special that needs to be setup somewhere?  Or has anyone used one at all in their projects?  Looking for anything here.  I've verified my code elsewhere.. but I can't make it work inside of Orchard.

Jun 24, 2011 at 7:25 PM

*bump*  anyone?  confirm it's a bug?

Jun 24, 2011 at 9:12 PM

I'm having the same exact issue. I cannot get it to work...


Jun 27, 2011 at 10:23 PM

0x, I think there is a problem with Autofac and AsyncControllers.. I've posted over on the autofac support website on  (look up tag 'autofac') and haven't even had a byte.  Further investigation reveals that a rather brainy enduser had a similar problem, and had to bypass it completely. 

Sounds to me like autofac is not the best thing to use to manage controllers.  I wonder if there is a way to turn it off from a project.