使用ASPX视图引擎与MVC 5 [英] Using ASPX View Engine with MVC 5

查看:141
本文介绍了使用ASPX视图引擎与MVC 5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时有可能使用ASPX视图引擎与MVC 5?

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

我们对ASPX视图引擎使用MVC 4的产品,我们希望迁移到MVC 5,然而,当我在2013 VS创建一个新的项目,选择MVC并尝试添加一个新的看法,我没有看到任何选项,添加使用ASPX视图引擎的视图。已微软停止与ASPX视图引擎?有什么办法能继续使用ASPX?

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 project in VS 2013, select MVC and try to add a new View, I don't see any option to add a view using ASPX View Engine. Has Microsoft stopped with ASPX View Engine? Is there any way to still use ASPX?

推荐答案

这是关于VS2013发布一篇博客文章中称:通过剃刀文件(.cshtml和.vbhtml)所使用的HTML编辑器以及普通的HTML文件已被替换为全新的code Web窗体(的.aspx和的.ascx)涉及显著更多的复杂性和不适合成为一个精心打磨发布的Visual Studio 2013,所以他们会在更新。即将推出的产品发布来源:<一个href=\"http://blogs.msdn.com/b/webdev/archive/2013/06/27/html-editing-features-in-visual-studio-2013-$p$pview.aspx\">http://blogs.msdn.com/b/webdev/archive/2013/06/27/html-editing-features-in-visual-studio-2013-$p$pview.aspx

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

这篇关于使用ASPX视图引擎与MVC 5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆