This is working for the most part but we are having a problem CurrentUmbracoPage. The problem is that when we return CurrentUmbracoPage we get this error:
"No component for supporting the service Umbraco.Web.Mvc.RenderMvcController was found"
It appears that umbraco is routing a request for the component RenderMvcController to our WindsorControllerFactory, even though the factory isn't going to be able to resolve it.
DI (with Windsor), Surface Controller and CurrentUmbracoPage Problem
Hi,
We've got our umbraco (v7) site working pretty well with castle windsor - its is configured in the global.asax something like this:
_container = new WindsorContainer().Install(FromAssembly.This());
WindsorControllerFactory.Kernel = _container.Kernel;
Umbraco.Web.Mvc.FilteredControllerFactoriesResolver.Current.InsertType<WindsorControllerFactory>();
This is working for the most part but we are having a problem CurrentUmbracoPage. The problem is that when we return CurrentUmbracoPage we get this error:
"No component for supporting the service Umbraco.Web.Mvc.RenderMvcController was found"
It appears that umbraco is routing a request for the component RenderMvcController to our WindsorControllerFactory, even though the factory isn't going to be able to resolve it.
Am I missing something?
is working on a reply...