What is the difference between Razor and ASPX?
问题 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? 回答1: 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". You can compare it to the spark view engine and see the differences between the three. 回答2: It all boils down to syntax in your webpage view , but ASPX and Razor are pretty different view