Introducing TagHelpers in ASP.NET Core

TagHelpers are introduced in ASP.NET Core MVC as a new way of writing server-side code that renders HTML tags (elements), that is much closer to the HTML format than to Razor. TagHelpers represent a mechanism to add server-side processing to a regular HTML tag, which in many ways is very similar to Angular or React directives. Compared to Razor, the code is way cleaner, there is no context-switching and no need to use @ escape sequence like in Razor. But for a beginner, it might be difficult to understand at first, given the fact that the syntax resembles so much… [Continue Reading]