简体   繁体   English

在VS2015中创建ASP.NET MVC5项目应该选择哪个模板?

[英]Which template should be select for creating an ASP.NET MVC5 project in VS2015?

I have seen How to create an MVC 5 project in Visual Studio 2015 before asking this question, but it was asked one year before and I need an actual answer of my question.在问这个问题之前,我已经看过如何在 Visual Studio 2015 中创建一个 MVC 5 项目,但一年前有人问过这个问题,我需要我的问题的实际答案。 Which template should I select for creating an MVC5 project?我应该选择哪个模板来创建 MVC5 项目? According to the explanations of ASP.NET5 Web Application, it seems to use MVC template and have more features.根据 ASP.NET5 Web Application 的解释,它似乎使用了 MVC 模板并且具有更多功能。 But if so, why MVC checkbox is not selected?但如果是这样,为什么没有选中 MVC 复选框? I am confused with this selections.我对这些选择感到困惑。

ASP.NET 4.5.2 Template ASP.NET 4.5.2 模板

ASP.NET 4.5.2 模板


ASP.NET 5 Template ASP.NET 5 模板

ASP.NET 5 模板

You are looking at old (preview) templates.您正在查看旧(预览)模板。 ASP.NET 5 in fact no longer exists, it was re-introduced as ASP.NET Core 1.0. ASP.NET 5 实际上已不复存在,它被重新引入为 ASP.NET Core 1.0。
Most likely you will want to use the 4.5.x template.您很可能希望使用 4.5.x 模板。 Or you can read up on ASP.NET Core to see if that suits your needs, because it is still an early product.或者您可以阅读 ASP.NET Core 以查看它是否适合您的需求,因为它仍然是一个早期产品。

More info:更多信息:
http://www.hanselman.com/blog/ASPNET5IsDeadIntroducingASPNETCore10AndNETCore10.aspx http://www.hanselman.com/blog/ASPNET5IsDeadIntroducingASPNETCore10AndNETCore10.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ASP NET MVC5编译器在IIS中发布错误(在VS2015中工作正常) - ASP NET MVC5 compiler publish error in IIS (works fine in VS2015) 用VS2015创建的ASP.Net核心Web应用程序(.Net Framework)创建了一个看上去很狡猾的项目 - ASP.Net Core Web Application (.Net Framework) created with VS2015 creates a dodgy looking project 为什么我不能将我的ASP.Net项目从VS2015发布到Azure - Why can't I publish my ASP.Net project from VS2015 to Azure 在 VS2015 ASP.NET 5 Web API 应用程序中设置项目 url - Setting project url in VS2015 ASP.NET 5 Web API application VS2015:安全更改ASP.Net解决方案和项目名称 - VS2015: Safely changing a ASP.Net solution and project name 无法使用VS2015 RTM在ASP.NET 5项目上还原nuget程序包 - Can't restore nuget packages on ASP.NET 5 project with VS2015 RTM 是否可以在VSCode OSX上运行VS2015中创建的ASP.NET Web项目? - Is it possible to run a ASP.NET web project created in VS2015 on VSCode OSX? 在VS2015中调试asp.net项目时调试xunit - Debug xunit while debugging asp.net project in VS2015 如何在安装vs2015之后在vs2015上安装Asp.Net? - How can I install Asp.Net on vs2015 after already installing vs2015 ? 在 ASP.NET 5/VS2015 中遇到 DNX 参考问题 - Stuck with DNX reference issue in ASP.NET 5/VS2015
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM