
Layout in ASP.NET Core | Microsoft Learn
Jul 30, 2025 · Learn how to use common layouts, share directives, and run common code before rendering views in an ASP.NET Core app.
Razor syntax reference for ASP.NET Core | Microsoft Learn
Jul 7, 2016 · Razor is also found in Razor component files (.razor). Razor syntax is similar to the templating engines of various JavaScript single-page application (SPA) frameworks, such as …
ASP.NET Core Blazor layouts | Microsoft Learn
Nov 12, 2025 · To create a layout component: Create a Razor component defined by a Razor template or C# code. Layout components based on a Razor template use the .razor file extension just like …
Model Binding in ASP.NET Core | Microsoft Learn
Learn how model binding in ASP.NET Core works and how to customize its behavior.
Creating a Consistent Layout in ASP.NET Web Pages (Razor) Sites
Jul 11, 2022 · The RenderPage, RenderBody, and RenderSection methods, which tell ASP.NET where to insert page elements. The PageData dictionary that lets you share data between content blocks …
ASP.NET Core Blazor render modes | Microsoft Learn
Dec 12, 2025 · Interactivity makes it possible for users to interact with rendered components. This includes app responses to Document Object Model (DOM) events and state changes tied to C# …
Tutorial: Get started with Razor Pages in ASP.NET Core
This is the first tutorial of a series that teaches the basics of building an ASP.NET Core Razor Pages web app.
The Razor _Layout.cshtml file | Learn Razor Pages
Apr 20, 2021 · The default registered search paths are Pages/Shared (from ASP.NET Core 2.1 onwards) and Views/Shared (the default location for layout pages in an MVC application).
Model Binding - Learn Razor Pages
Oct 5, 2023 · Model Binding in Razor Pages is the process that takes values from HTTP requests and maps them to handler method parameters or PageModel properties. Model binding reduces the need …
ASP.NET Core .NET 8 Razor Syntax Tutorial for MVC/View
Sep 28, 2024 · Introduction to Razor Syntax in ASP.NET Core MVC Razor is a markup syntax used in ASP.NET Core MVC to embed server-side code in web pages. It is lightweight, fast, and allows you …