I have a webforms project.
I use nuget to install web API by running Install-Package WebApi.All
I create a class
public class CartController : System.Web.Http.ApiController
but it cannot resolve symbol Http in System.Web.Http, what dependency am I missing?
The name of the package for the ASP.NET Web API isn’t “WebApi.All”. The package for the ASP.NET Web API (Beta) is “AspNetWebApi”. Try running the following instead: