使用Razor Vs ASPX进行MVC应用程序开发 [英] MVC Application Development with Razor Vs ASPX

查看:41
本文介绍了使用Razor Vs ASPX进行MVC应用程序开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好......每个人

我想开发 MVC Web应用程序

哪个View Engine( ASPX / Razor )更适合初学者和

,这在开发领域很快。他们有什么不同?

请,任何人都可以提供建议吗?

感谢所有...

               MinChanSike

解决方案

razor viewengine优于aspx的Razor优势的一个主要优势是它们是与Web Form语法相比,易于学习和清晰,并且Razor还具有新颖且先进的语法,紧凑,富有表现力并且减少了打字。

没有为初学者开始使用Razor的问题。


我想如果你觉得aspx更适合你,你应该使用它。



你知道之后关于MVC4,您可以将asxp更改为razor。


如果使用Razor View Engine而不是传统的Aspx WebPages,有许多优点。



单元可测试性(良好的TDD支持),清洁语法和代码以及较少的学习曲线。



Refe链接进行详细比较,



Razor-View-Engine-and-ASPX-View-Engine 之间的区别[ ^ ]



Scottgu -introducing-razor [ ^ ]

Hello ... Everybody
I want to develop MVC Web Application.
Which View Engine(ASPX/Razor) is more suitable for beginner and
which is quick in development field. How they are different?
Please,anyone can advise?
Thank All ...
             MinChanSike

解决方案

One of main advantage of Razor advantage of razor viewengine over the aspx is they are easy to learn and much clean than Web Form syntax and also Razor has new and advance syntax that are compact, expressive and reduces typing..
No problems of starting with Razor for beginners.


I think If you feel the aspx is more suitable to you,you should use it .

After you know well about MVC4,you can change asxp to razor .


There are many Advantages if using Razor View Engine over the conventional Aspx WebPages.

Unit Testability( good TDD support) ,Cleaner Syntax and Code and less learning curve being some of those.

Refer the link for a detailed comparison,

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

Scottgu-introducing-razor[^]


这篇关于使用Razor Vs ASPX进行MVC应用程序开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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