开发者

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

开发者 https://www.devze.com 2023-02-10 12:06 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: How to use multiple view engines in ASP.NET MVC application
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

精彩评论

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