Click here to Skip to main content
15,884,425 members

Survey Results

Do you use Tag Helpers in ASP.NET Core?

Survey period: 28 Aug 2017 to 4 Sep 2017

An alternative to HTML helpers for generating HTML in ASP.NET Core apps. Use them, abuse them, ignore them?

OptionVotes% 
We use them now637.99
We'll be using them soon293.68
We're considering using them324.06
We've decided not to use them in our ASP.NET apps101.27
We have no need to use them364.57
I don't write ASP.NET Core apps33842.89
I have no idea what a Tag Helper is28035.53



 
GeneralRe: A massive victory for apathy so far! Pin
Marc Clifton28-Aug-17 14:26
mvaMarc Clifton28-Aug-17 14:26 
GeneralRe: A massive victory for apathy so far! Pin
S Douglas30-Aug-17 8:16
professionalS Douglas30-Aug-17 8:16 
GeneralMaybe cool, but unnecessary... Pin
Mario Z27-Aug-17 21:28
professionalMario Z27-Aug-17 21:28 
AnswerMessage Closed Pin
31-Aug-17 13:18
professionalRobert_Dyball31-Aug-17 13:18 
GeneralRe: Maybe cool, but unnecessary... Pin
Mario Z31-Aug-17 19:07
professionalMario Z31-Aug-17 19:07 
GeneralRe: Maybe cool, but unnecessary... Pin
Robert_Dyball31-Aug-17 19:47
professionalRobert_Dyball31-Aug-17 19:47 
GeneralRe: Maybe cool, but unnecessary... Pin
Mario Z31-Aug-17 20:36
professionalMario Z31-Aug-17 20:36 
GeneralRe: Maybe cool, but unnecessary... Pin
Robert_Dyball31-Aug-17 20:46
professionalRobert_Dyball31-Aug-17 20:46 
Mario Z wrote:
Also the conclusion that article makes is: "The markup is much cleaner and easier to read, edit, and maintain than the HTML Helpers approach."
My question is how, how is that easier to edit and maintain?



IMO HTML helpers were something of a mystery, no intellisense - you no idea as you're editing if you had to spell firstname as FirstName or if it mattered, or was remotely correct. I suppose someone could have added intellisense, but the Tag Helper alternative at least looks/feels more like HTML (for those who have no idea of C#, Razor etc).

Tag Helper classes for example, case in point. I'd rather edit class="xxx" with some training wheels (aka intellisense) than wonder what on earth to put in new {@class="xxx"} ... but what do I know, except I get older, I forget more stuff than I never knew, and anything that makes it easier works for me.

Anyway thanks for your reply, like most things - there's lots of choices, stick with whatever works for you.

I know some people who can't understand why I don't like tripe and onions, I'm happy without - but though puzzled, they are too (more in the world for them).

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.