I fixed this by reinstalling the NuGet package, which corrects broken dependencies. From the package manager, run:
Update-Package Microsoft.AspNet.WebApi -reinstall
More Related Contents:
- WebAPI and ODataController return 406 Not Acceptable
- Adding a custom query backed Navigation Property to ODataConventionModelBuilder
- How to set custom JsonSerializerSettings for Json.NET in ASP.NET Web API?
- Make Https call using HttpClient
- How do I set a cookie on HttpClient’s HttpRequestMessage
- How to write a JSON file in C#?
- How to add/update child entities when updating a parent entity in EF
- ASP.NET Core MVC : How to get raw JSON bound to a string without a type?
- Post parameter is always null
- How can I use a reserved keyword as an identifier in my JSON model class?
- Web API 2: how to return JSON with camelCased property names, on objects and their sub-objects
- What is the difference between PreserveReferencesHandling and ReferenceLoopHandling in Json.Net?
- HttpClient not supporting PostAsJsonAsync method C#
- Complex type is getting null in a ApiController parameter
- OWIN Security – How to Implement OAuth2 Refresh Tokens
- JSON serialize properties on class inheriting list [duplicate]
- Compress HTTP GET Response
- How to generate and auto increment Id with Entity Framework
- The requested resource does not support HTTP method ‘GET’
- How to use System.Net.HttpClient to post a complex type?
- How to add Web API to an existing ASP.NET MVC (5) Web Application project?
- Web API optional parameters
- Simple JWT authentication in ASP.NET Core 1.0 Web API
- Web API and OData- Pass Multiple Parameters
- C# unsupported grant type when calling web api
- ASP.NET Web API ActionFilter example
- Disable *all* exception handling in ASP.NET Web API 2 (to make room for my own)?
- WCF Service or Web API [closed]
- jQuery posts null instead of JSON to ASP.NET Web API
- Web API complex parameter properties are all null