[英]Adding Web API and folder references to empty ASP.NET project with Visual Studio 2012 Express for Web
I'm trying to follow this guide in order to create a web API in an empty ASP.NET project. 我正在尝试按照本指南在空ASP.NET项目中创建Web API。 Upon creating the project, the author gets an additional dialog that asks him if he wants folders and core references added for a couple of things, including Web API.
在创建项目时,作者会获得一个额外的对话框 ,询问他是否希望添加文件夹和核心参考文件,包括Web API。 I am not getting that option on Visual Studio 2012 Express for Web.
我没有在Visual Studio 2012 Express for Web上获得该选项。 All I'm getting is this dialog, which immediately creates the project upon being submitted:
我得到的就是这个对话框,它在提交时立即创建项目:
How can I easily add all necessary references and folders to work with Web API? 如何轻松添加所有必需的引用和文件夹以使用Web API? I am not looking at creating an MVC project, or anything else other than an empty ASP.NET project.
我不打算创建一个MVC项目,或者除了一个空的ASP.NET项目之外的任何其他东西。
You could add it using a Nuget package. 您可以使用Nuget包添加它。 I think this one or this one that you have suggested is what you will need.
我认为你所建议的 这一个或那个是你需要的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.