Using ASPX View Engine with MVC 5

后端 未结 2 2069
囚心锁ツ
囚心锁ツ 2020-12-10 11:21

Is it possible to use ASPX view engine with MVC 5?

We have a product using MVC 4 on ASPX view engine and we want to migrate to MVC 5, however, when I create a new p

相关标签:
2条回答
  • 2020-12-10 12:08

    This is what a blog post regarding the release of VS2013 said: "The HTML editor used by Razor files (.cshtml and .vbhtml) as well as normal HTML files has been replaced with entirely new code. Web Forms (.aspx and .ascx) involve significantly more complexity and did not fit into a well-polished release for Visual Studio 2013, so they will be updated in an upcoming product release. " Source:http://blogs.msdn.com/b/webdev/archive/2013/06/27/html-editing-features-in-visual-studio-2013-preview.aspx

    0 讨论(0)
  • 2020-12-10 12:22

    It's installed by default. just check out the ViewEngines.Engines collection. Its output are:

    • System.Web.Mvc.WebFormViewEngine
    • System.Web.Mvc.RazorViewEngine
    0 讨论(0)
提交回复
热议问题