According to the docs ( http://odata.imtqy.com/WebApi/#11-01-OData-V4-Web-API-Scaffolding ) it is required to inherit from ODataController. I installed the package using nuget and still could not inherit from this class. Does OData support core.net? Are the documents out of date?
Possible Duplicate OData Support in ASP.net Kernel
The link to the documents you indicated is oriented to the .NET Framework. To support .NET Core, download the Microsoft.AspNetCore.OData NuGet package from
https://www.nuget.org/packages/Microsoft.AspNetCore.OData
This package has a dependency on Microsoft.OData.Core, which will also be installed automatically. Starting with version 7.2.0, the package is focused on .NET Standard 1.1.
Once the package is referenced, you should inherit from ODataController. See the following video and links for more information.
https://www.towfeek.se/2017/01/08/odata-with-aspnet-core/
http://odata.imtqy.com/odata.net/v7/#ODL-7.3.1
I hope this helps