码迷,mamicode.com
首页 > Web开发 > 详细

When to use HTML Helper?

时间:2016-02-15 16:13:29      阅读:136      评论:0      收藏:0      [点我收藏+]

标签:

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?

标签:

原文地址:http://www.cnblogs.com/lmfy/p/5190652.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!