Razor 和 ASPX 有什么区别? [英] What is the difference between Razor and ASPX?

查看:15
本文介绍了Razor 和 ASPX 有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Razor 和 ASPX 在 MVC 项目中有什么区别吗?

Is there any difference between Razor and ASPX in a MVC project?

这只是关于语法吗?这就是我在阅读本文后的想法.. 我错了吗?

Is it just about syntax? That's what I think after reading this... Am I wrong?

推荐答案

我想归结起来确实如此,是的.

I guess it does boil down to that, yes.

从文章中的例子可以看出,语法非常轻量级,解释器非常智能".

As you can see from the examples in the article, the syntax is very lightweight and the interpreter is quite "smart".

您可以将其与 Spark 视图引擎进行比较,并查看三者之间的差异.

You can compare it to the spark view engine and see the differences between the three.

这篇关于Razor 和 ASPX 有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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