In many places you hear developers talk about Declarative HTML helpers or HTML helpers. What is their difference. Are they just synonyms?
In many places you hear developers talk about Declarative HTML helpers or HTML helpers
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Declarative HTML helpers use the
@helperfunction and are declared inline inside the Razor views.HTML helpers are extension methods declared in separate classes and can be used in any view engine (Razor, WebForms, Spark, …).