Extend Built In Label Tag Helper In ASP.NET Core Application

In this article, we will talk about how to extend built in label tag helper in ASP.NET Core application.

What Are Tag Helpers?

Tag helpers is one of the new feature introduced in ASP.NET Core which allows us to add server side code while creating and rendering HTML elements.  They are similar to HTML helpers in ASP.NET MVC.  ASP.NET Core comes with various built in tag helpers for rendering HTML elements like label, input, img, select etc. Follow the below links to get more information about Tag Helpers:

  1. https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/intro
  2. https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/authoring
  3. https://docs.microsoft.com/en-us/aspnet/core/mvc/views/working-with-forms
Read more