Reputation: 1894
I can't seem to find a complete working example of webapi2 + odata v4. Nothing works. Do you have a complete, working and standalone example to provide?
Thanks!
Upvotes: 0
Views: 705
Reputation: 340
There are kinds of samples in github, refer to https://github.com/OData/ODataSamples/tree/master/WebApi/v4 which is based on Web Api odata library.
Also there is a library called restier which only requires several line of code to make a DB exposed via EF as OData service, refer to https://github.com/OData/ODataSamples/tree/master/RESTier for end to end examples.
Upvotes: 1