部分页布局
.net core
不经过controller
<partial name="ActionName" />
@Html.RenderPartial()
经过controller
@Html.RenderComponentAsync()
.net mvc5
Html.PartialAsync
经过controller
@Html.Action
2022-02-09 21:38:31
不经过controller
<partial name="ActionName" />
@Html.RenderPartial()
经过controller
@Html.RenderComponentAsync()
.net mvc5
Html.PartialAsync
经过controller
@Html.Action
下一篇:bubuko分享,好语句,好分享