OData Web API
The project has a few branches, such as master, vNext, gh-pages.
The master branch has the following libraries, and the packages are available from NuGet or MyGet:
- OData v4 Web API (namespace
- OData v3 Web API (namespace
- vNext (namespace
The vNext branch contains the latest code of OData vNext Web API.
The gh-pages branch contains the documenation source - in Markdown format - of the OData Web API.
cd OData build.cmd
Each solution contains some test projects. Test projects use xUnit runner nuget package.
Tests will not run correctly unless SkipStrongNames is Enabled. Please run
Run tests in cmd
build.cmdbuild project, and run unit tests.
To run end-to-end tests, you need to open an elevated - Run as administrator - command prompt
build.cmd e2eV4build projects, run unit tests, and OData v4 end-to-end tests.
build.cmd e2eV3build projects, run unit tests, and OData v3 end-to-end tests.
build.cmd fullbuild projects, run unit tests, OData v4 and v3 end-to-end tests.
To disable the SkipStrongNames:
Run tests in Visual Studio
Open the project, build it, and then test cases should appear in test explorer. If not, this is because the assemblies are delay signed and you're missing the private key so xunit will not load them in Visual Studio. To fix, please run
build.cmd EnableSkipStrongNames. Run all the tests in the test explorer. For running end-to-end tests you must open the solution as Administrator. More detail at this.
- In your NuGet Package Manager settings add the following package source:
- Package IDs
Please refer to the CONTRIBUTION.md.
Please visit the OData Web API pages.
Please refer to the ODataSamples WebApi.
Please refer to the How to debug.