开发者

C# MVC Razor or Master/Content performance

开发者 https://www.devze.com 2023-02-24 08:11 出处:网络
I\'m starting a new project with MVC and I\'ve never used the Razor engine.Will there be any performance gains or hits as compared to using the standard Content/Master pages?I know that Razor looks be

I'm starting a new project with MVC and I've never used the Razor engine. Will there be any performance gains or hits as compared to using the standard Content/Master pages? I know that Razor looks better and seems easier to pr开发者_运维技巧ogram for, but what is the cost?

Thanks


Razor, according to these tests, is slightly slower:

ASP.NET MVC 3 Razor performance

0

精彩评论

暂无评论...
验证码 换一张
取 消