Razor Syntax and Tag Helpers

Mix C# into HTML with Razor's @ expressions, code blocks, if and foreach, and let tag helpers such as asp-action and asp-route-id write your links.

Updated

Cheat sheet: Razor Syntax and Tag Helpers
Category
ASP.NET Core
Level
Journeyman
Tags
asp-action, aspnet-core, Code Block (razor), c-sharp, HTML Encoding, razor, Razor Expression, Tag Helper