Changes how controllers are discovered, re-uses aspnetcore to do this, rely directly on the resolved ControllerActionDescriptor since this is how routing works anyways and also saves future lookups (perf), gets the UmbracoPageResult 'working' - at least to proxy a controller execution but now we need to do the model state merging, etc...

This commit is contained in:
Shannon
2021-02-04 13:09:28 +11:00
parent 57f3de7652
commit eda98aa41f
14 changed files with 224 additions and 226 deletions

View File

@@ -21,6 +21,7 @@ namespace Umbraco.Web.Website.Controllers
// TODO: Migrate MergeModelStateToChildAction and MergeParentContextViewData action filters
// [MergeModelStateToChildAction]
// [MergeParentContextViewData]
[AutoValidateAntiforgeryToken]
public abstract class SurfaceController : PluginController
{
/// <summary>