对于此处提到的 umbraco 文档中提到的自定义控制器劫持Custom controllers (Hijacking Umbraco Routes)
DefaultRenderMvcControllerResolver
对于下面的代码片段,我找不到提到的类的名称空间和程序集,
public class MyApplication : UmbracoApplication
{
protected override void OnApplicationStarting(object sender, EventArgs e)
{
DefaultRenderMvcControllerResolver.Current.SetDefaultControllerType(typeof(MyCustomUmbracoController));
base.OnApplicationStarting(sender, e);
}
}