部分页布局
.net core
不经过controller
<partial name="ActionName" />
@Html.RenderPartial()
经过controller
@Html.RenderComponentAsync()
.net mvc5
Html.PartialAsync
经过controller
@Html.Action
标签:Razor,core,经过,controller,Html,Net,net
来源: https://www.cnblogs.com/wangyinlon/p/15303038.html