Web アプリに asp.net Web API パッケージを正常にインストールしました。
PM> install-package aspnetwebapi
Attempting to resolve dependency 'Microsoft.AspNet.WebApi (≥ 4.0.20710.0 && < 4.1)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.WebHost (≥ 4.0.20710.0 && < 4.1)'.
Attempting to resolve dependency 'Microsoft.Web.Infrastructure (≥ 1.0.0.0)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Core (≥ 4.0.20710.0 && < 4.1)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Client (≥ 4.0.20710.0 && < 4.1)'.
Attempting to resolve dependency 'Microsoft.Net.Http (≥ 2.0.20710.0 && < 2.1)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.5.6)'.
You are downloading Microsoft.AspNet.WebApi from Microsoft, the license agreement to which is available at http://www.microsoft.com/web/webpi/eula/MVC_4_eula_ENU.htm. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'Microsoft.AspNet.WebApi 4.0.20710.0'.
You are downloading AspNetWebApi from Microsoft, the license agreement to which is available at http://www.microsoft.com/web/webpi/eula/MVC_4_eula_ENU.htm. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'AspNetWebApi 4.0.20710.0'.
Successfully added 'Microsoft.Web.Infrastructure 1.0.0.0' to ProductConfiguration.
Successfully added 'Microsoft.Net.Http 2.0.20710.0' to ProductConfiguration.
Successfully added 'Newtonsoft.Json 4.5.8' to ProductConfiguration.
Successfully added 'Microsoft.AspNet.WebApi.Client 4.0.20710.0' to ProductConfiguration.
Successfully added 'Microsoft.AspNet.WebApi.Core 4.0.20710.0' to ProductConfiguration.
Successfully added 'Microsoft.AspNet.WebApi.WebHost 4.0.20710.0' to ProductConfiguration.
Successfully added 'Microsoft.AspNet.WebApi 4.0.20710.0' to ProductConfiguration.
Successfully added 'AspNetWebApi 4.0.20710.0' to ProductConfiguration.
Web API コントローラーを追加すると、次のようになります。
追加したコントローラーは Web API Beta のものです (「namespace . Controllers」を使用) 。
VWD2010を使用しています。
これを正しく機能させるにはどうすればよいですか?
編集: アンインストールできません...