ASP.NET Core: extending built-in tag helpers

In this post I’ll show you how you can extend built-in tag helpers. What are tag helpers? Basically tag helpers are classes which take part in processing (or creating) HTML elements inside Razor views. You can create C# code which will target desired HTML and produce desired output. For more throughtout explanation see Introduction to Tag Helpers in ASP.NET Core Setup Before we begin, make sure that your setup is correct. If your custom tag helpers are in Solution assembly then you need to add this line to your View/_ViewImports.cshtml file: ...

February 9, 2018 · 3 min · Zbigniew