When to use HTML Helper?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了When to use HTML Helper?相关的知识,希望对你有一定的参考价值。

html Helper

Single or closely related HTML elements(template)

Simpler,low level logic for displaying elements

Partial View/Child Action

Section of more complex HTML

Higher level,model related logic that may involve controller action method

Both can reduce code repetition

以上是关于When to use HTML Helper?的主要内容,如果未能解决你的问题,请参考以下文章

How to keep Environment Variables when Using SUDO

When to use next() and return next() in Node.js

System Design Interviews: NoSQL Databases and When to Use Them.

How to let your website login with domain account when using IIS to deploy it?

007:When to use LinkedList over ArrayList?

When to Use Nested Classes, Local Classes, Anonymous Classes, and Lambda Expressions