What is Razor syntax in ASP.NET Core MVC?
Razor is the view syntax used by ASP.NET Core MVC to combine HTML markup with server-side C# code in .cshtml files. The @ character is used to transition from HTML into C# expressions, statements, directives, and code blocks.