It is true that Tag Helpers have a HTML-friendly syntax, but HTML Helpers have a Razor syntax which I feel is natural in ASP.NET Views, so it seems to me that it is intuitive and readable to most ASP.NET developers...
What was the point of this feature?
It is mentioned that: "The markup is much cleaner and easier to read, edit, and maintain than the HTML Helpers approach."
That conclusion seems rather subjective, the only ones that I feel could benefit from this is non ASP.NET developers that are familiar with any JS framework (like Angular, React, Vue, etc.).
Well at first that seems as if it could be beneficial, but then again what about the rest of the Razor syntax that will be present in the View?
Also does this encourage us to have two syntax in our Views?
Also I don't get how removing the C# with HTML is easier to edit and maintain?
You just replaced the C# code with magic strings, if anything you lost quite a few features because of that...
Tag Helpers can be like an old fashioned macro, one small bit of markup on the page and you can get a lot of time-saving HTML created.
You get this with HTML Helpers as well.
If you are using PoMVC (plain old MVC) views you'll probably find after a while there's similar looking chunks of code all over the app, and depending on the size of the site, these repetitive code chunks might be moved into tag helpers. IMO makes for easier changes later.
Also you can create your own HTML Helpers and you could even use partials for this...
If you like living dangerously, try out: SPA[^]
where I use Tag Helpers in ASP.Net Core MVC partial views to serve my SPA it's HTML views
To be honest I lost faith in Angular team a long time ago, but nevertheless again you could have just used the HTML Helpers to achieve the same.
For example, in one occasion I used them for adding Vuetifyjs components.
In short, I'm not sure if you just wanted to post a link to your article or if you really believe that there is something valuable that Tag Helpers provide over HTML Helpers...
ouch ... sorry wasted your time, I incorrectly assumed you weren't familiar with tag helpers.
The link I gave was in good faith to provide examples + further links, and some caveats and I hoped in a tone that did not sound like I new it all - I don't.
you are entitled to assume self promotion, I think this odd, as I get a negative benefit - having not got any pay for the articles in the first place (they cost me much of my own spare time to write), and take further time if anyone asks questions. In other words to me it's a cost.
So here's a link (not mine), that compares HTML helpers and Tag Helpers: