In many places you hear developers talk about Declarative HTML helpers or HTML helpers. What is their开发者_JS百科 difference. Are they just synonyms?
Declarative HTML helpers use the @helper function 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, ...).
加载中,请稍侯......
精彩评论