Razor

Layouts and sections in ASP.NET Core
ASP.NET Core

Layouts and Sections in ASP.NET MVC Core

The Layouts and sections in ASP.NET MVC core help us to maintain a consistent look across all the pages or views of our application. In this tutorial, we will learn how to create a Layout page, which is shared between the views. We will use the Renderbody to render the view. We will also see how to define sections and render it using the RenderSection. Finally, We will take a look at _viewstart to define the layout Page.

Razor View Engine and Syntax in ASP.NET Core MVC
ASP.NET Core

Razor View Engine & Razor Syntax in ASP.NET Core

In this Razor tutorial, we will take a quick tour of the Razor View Engine in ASP.NET Core MVC. The Razor makes it easier to embed the C# code inside the HTML, thus providing the ability to generate the dynamic response. In this tutorial, we will explore the Razor syntax. 

Scroll to Top