我有使用这种方法的Sitecore的应用:Sitecore的视图渲染和控制器渲染助手
@Html.Sitecore().ViewRendering("Path to the View")
@Html.Sitecore().Controller("Controller Name", "Controller Action")
这工作完全正常,即使没有我在Sitecore的CMS是渲染创建项目
那么什么是该方法与简单的ASP MVC方法之间的区别:
@Html.Partial("Path to the View")
@Html.Action("Controller Name", "Controller Action")
两者是否相同?我觉得这里有点困惑
谢谢,很好的解释 – gill23