开发者

Razor engine on MVC 1

Is there anyway to make razor engine works on MVC 1?开发者_开发问答

I have to use MVC 1 because I'm working on Visual studio 2008.


Razor requires .NET 4.0 and works only with ASP.NET MVC 3, which is not supported in Visual Studio 2008. So the answer is no.


It should be possible to backport the Razor ViewEngine to MVC1, although you'll lose a lot of features.

However, it won't help; Razor itself requires .Net 4.0, which is not available on VS2008.


Not that I know of. The razor view engine is only supported in ASP.NET MVC 3.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜