I am currently following this guide -> Link to asp.net website
As the guide says I added all the necessary packages via the nuget console and added the necessary usings
FOR OData V3
using System.Web.Http.OData.Builder;
and using System.Web.Http.OData.Extensions;
config.Routes.MapODataServiceRoute(...)
FOR OData V4
using System.Web.OData.Builder;
and using System.Web.OData.Extensions;
config.MapODataServiceRoute(...)
Dont get stuck on WebApi word, they are both for web api.