简体   繁体   中英

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. 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. I am not getting that option on 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? I am not looking at creating an MVC project, or anything else other than an empty ASP.NET project.

You could add it using a Nuget package. I think this one or this one that you have suggested is what you will need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM