Answer the question
In order to leave comments, you need to log in
What is the convenience of html helpers in asp.net over normal html markup?
I started to study asp.net mvc, the essence of html helpers for generating standard elements is not very clear.
Should I use whichever is more convenient (helpers or html markup) or are there standards?
Strictly typed helpers are not taken into account.
Answer the question
In order to leave comments, you need to log in
Ability to customize editors for individual views. Sometimes it just looks better than manually generating HTML (the same dropdowns). For everything else, it's just general consistency with typed helpers.
Although, they are often avoided altogether in favor of small inclusions in HTML and PartialViews. Moreover, ASP.NET Core is already following the classic templating path - it uses special attributes (TagHelpers).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question