Friday, August 12, 2016

HttpConfiguration does not contain a definition for EnableQuerySupport

I was recently attempting to add OData support to my ASP.NET Web API application when I encountered the following error message:

My friend then pointed me to this StackOverflow forum posting:

This changed how to use the EnableQuery attribute globally in my WebApiConfig.cs file as follows:

No comments:

Post a Comment