简体   繁体   English

使用Visual Studio 2012 Express for Web将Web API和文件夹引用添加到空ASP.NET项目

[英]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.

相关问题 Visual Studio中使用ASP.NET Web API项目的Angular项目 - Angular project with ASP.NET Web API project in Visual Studio Visual Studio Professional 2012错误:此项目引用ASP.NET MVC项目中缺少的NuGet包 - Visual Studio Professional 2012 error: This project references NuGet package(s) that are missing in ASP.NET MVC project ASP.NET 4.6 WEB API,不提供静态文件(.js,.css)IIS Express Visual Studio - ASP.NET 4.6 WEB API, Not serving static files(.js, .css) IIS express visual studio 是否可以在Visual Studio 2015的其他端口中发布asp.net Web API? IIS不是IIS Express - Is it possible to publish asp.net web api in a different port in Visual Studio 2015 ? IIS not IIS Express Visual Studio 2017 中的空 ASP .NET Core Web 应用程序项目 - Empty ASP .NET Core Web Application project in Visual studio 2017 带有EDMX的Visual Studio 2012 Web Express编译项目 - Visual Studio 2012 Web Express Compile Project with EDMX 如何使Visual Studio 2012在“ asp.net网页2”中返回有关剃刀语法错误的编译错误? (网站软件包,不是项目或网络应用程序) - How to have Visual Studio 2012 returned compile errors on razor syntax error in “asp.net web page 2”? (Website package, not project or web app) 使用Visual Studio 2012将具有数据库的ASP.net Web应用程序发布到Azure - Publishing ASP.net web application with database to Azure using Visual Studio 2012 使用asp.net Web表单Visual Studio 2012将图像插入Oracle数据库 - insert image into oracle database with asp.net web forms visual studio 2012 在 ASP.NET C# Web 项目中使用任何 MS Access 数据库添加 SqlDataSource 时,Visual Studio 2022 崩溃 - Visual Studio 2022 Crashes when Adding SqlDataSource using any MS Access Database in ASP.NET C# Web Project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM