API
Razor @page
Marks a Razor file as a page endpoint.
Formal Syntax & Structure
csharp syntaxcsharp
@pageWorking Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.@pageMarks a Razor file as a page endpoint.
@page// Documentary fragment; see linked lesson for context.@page