开发者

How do I combine multiple view engines in Mvc? [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

How to use multiple view engines in ASP.NET MVC application

I am combining two mvc apps, one using razor and one using web forms v开发者_如何学编程iew engine. How do I make the ViewEngine select first one view engine and then the other if a match fails?


ViewEngines.Engines.Add(new YourViewEngine())
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜