布局页 _BaseLayout.cshtml
@RenderSection("Right", true)
视图页 Index.cshtml
@{ Layout = "~/Views/Shared/_BaseLayout.cshtml"; } @section Right{内容}
布局页 _BaseLayout.cshtml
@RenderSection("Right", true)
视图页 Index.cshtml
@{ Layout = "~/Views/Shared/_BaseLayout.cshtml"; } @section Right{内容}