Differences between RenderBody and RenderSection in ASP.NET MVC
In my earlier blog, I wrote about _ViewStart.cshtml file and MVC Routing. In this blog, I will write about RenderBody vs RenderSection in MVC. @RenderBody() vs @RenderSection() RenderBody() – RenderBody() must be available in Layout view i.e. it is mandatory for Layout view RenderBody() does not take any parameter. A @RenderBody() in Layout page look like … Read more