现在MVC 3 Preview 1在这里,我们可以使用Razor(.cshtml)视图引擎。如果没有找到一个观点,我得到这个错误:如果我不打算使用它们,是否值得去除.aspx/.ascx查找?
The view 'a' or its master was not found. The following locations were searched:
~/Views/Home/a.aspx
~/Views/Home/a.ascx
~/Views/Shared/a.aspx
~/Views/Shared/a.ascx
~/Views/Home/a.cshtml
~/Views/Shared/a.cshtml
难道是值得删除的.aspx /查找名为.ascx,如果我不打算使用它们?
在[MVC4跳转开始视频(http://channel9.msdn.com/Series/Building-Web-Apps-with-ASP-NET-Jump -Start/Building-Web-Apps-with-ASPNET-Jump-Start-02-Building-and-Deploying-Websites-with-ASPNET-MVC-4),Scott Hanselman说,通过这样做你可能会取得微小的性能提升。 – DOK 2013-09-27 19:30:27