I configured the structure structure successfully, but each page is looking for a controller named "scripts"
public class StructureMapControllerFactory : DefaultControllerFactory { public override IController CreateController(RequestContext context, string controllerName) { Type controllerType = base.GetControllerType(context, controllerName); return ObjectFactory.GetInstance(controllerType) as IController; } }
This is because the ControllerName parameter string comes up every time with the string "scripts"
source share