哪个视图引擎最适合构建MVC 4 [英] Which view engine is best for building MVC 4

查看:54
本文介绍了哪个视图引擎最适合构建MVC 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





晚上好,



我想知道哪个视图引擎最适合建立mvc4(aspx或razor)应用程序以及为什么?



有人可以用正确的理由解释我吗?



提前致谢

Hi,

Good Evening,

I want to know which view engine is best for building mvc4( either aspx or razor) applications and why?

Could anybody please explain me with proper reason?

Thanks in advance

推荐答案

http:// forums .asp.net / t / 1763131.aspx [ ^ ]



即使你也可以查看差价



Difference-Between-Razor-View-Engine-and-ASPX -View-Engine.html [ ^ ]



希望它会有所帮助。 。
http://forums.asp.net/t/1763131.aspx[^]

even u can check the difference also

Difference-Between-Razor-View-Engine-and-ASPX-View-Engine.html[^]

Hope it will help..


阅读这些:

http://www.ironshay.com/post/The-Big-View-Engine-Comparison-e28093-Razor -vs-Spark-vs-NHaml-vs-Web-Forms-View-Engine.aspx [ ^ ]

ASP.NET MVC 4 - Part [ 3] - Razor View Engine和ASPX View Engine [ ^ ]

...并亲眼看看。

我的意见aspx别无选择。为什么我建议使用razor高于其他人呢?微软和开发MVC的团队完全支持它。它的语法简单,轻量级,与c#密切相关,并与标记的其余部分正确区分。
Read these:
http://www.ironshay.com/post/The-Big-View-Engine-Comparison-e28093-Razor-vs-Spark-vs-NHaml-vs-Web-Forms-View-Engine.aspx[^]
ASP.NET MVC 4 - Part [3] - Razor View Engine and ASPX View Engine[^]
... and see for yourself.
On my opiniion aspx is no option. Why I would suggest using razor above others? It is fully supported by Microsoft and the team developing MVC. It's syntax is simple, lightweight, strongly related to c#, and properly differentiated from the rest of the markup.


与答案类似的问题

我正在使用mvc3.which一个更好的真实时间(aspx(c#)或Rezor)给我发送一个实时示例请帮帮我 [ ^ ]
Similar question with answer
I am using mvc3.which one is better in real time (aspx(c#) or Rezor) send me one real time example please help me[^]


这篇关于哪个视图引擎最适合构建MVC 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆