Razor

E182233

Razor is a lightweight, server-side templating syntax used in ASP.NET to embed C# or VB.NET code within HTML for generating dynamic web pages.

All labels observed (1)

Label Occurrences
Razor canonical 3

How this entity was disambiguated

Statements (45)

Predicate Object
instanceOf ASP.NET technology
server-side templating syntax
view engine
associatedWith Razor view (.cshtml) files
Razor view (.vbhtml) files
designedFor embedding server-side code in HTML
generating dynamic web pages
developer Microsoft
documentationURL https://learn.microsoft.com/aspnet/core/mvc/views/razor
https://learn.microsoft.com/aspnet/core/razor-pages
executionEnvironment server-side
feature HTML helpers integration
automatic HTML encoding of output
code blocks within HTML markup
inline code expressions with @ syntax
intellisense support in Visual Studio
layout pages support
model binding support
sections support
tag helpers integration
fileExtension .cshtml
.vbhtml
goal provide clean separation of markup and code
simplify server-side HTML generation
integratedInto ASP.NET Core MVC view engine system
ASP.NET
surface form: ASP.NET MVC view engine system
introducedBy ASP.NET
surface form: ASP.NET MVC 3
paradigm templating syntax
primaryLanguage C#
runsOn .NET 5+
.NET Core
.NET Framework
supports conditional logic in views
layouts and nested layouts
loops in views
partial views
strongly-typed views
supportsLanguage C# programming language
surface form: C#

VB.NET
syntaxMarker @
usedIn ASP.NET
dotnet/aspnetcore
surface form: ASP.NET Core MVC

ASP.NET Core MVC view engine system
surface form: ASP.NET MVC

ASP.NET
surface form: ASP.NET Web Pages

ASP.NET Core Razor Pages
surface form: Razor Pages

How these facts were elicited

Referenced by (3)

Full triples — surface form annotated when it differs from this entity's canonical label.