【发布时间】:2016-05-03 05:28:45
【问题描述】:
我有一个使用此方法的站点核心应用程序:
@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")
两者都一样还是不一样?我在这里感到有点困惑
【问题讨论】:
标签: asp.net-mvc sitecore sitecore8