本文转自:
OData Web API
Introduction
OData Web API (i.e., ASP.NET Web API OData) is a server library built upon and .
Project structure
The master branch has the following libraries, and the packages are availabe from NuGet or MyGet:
- (namespace
System.Web.OData
) - (namespace
System.Web.Http.OData
) - (namespace )
Building
cd ODatabuild
Testing
Each solution contains some test projects. Install this first, then open the project, build it and run all the tests in the test explorer. For running tests you must open the solution as Administrator. More detail at .
Nightly builds
- In your NuGet Package Manager settings add the following package source:
- Package IDs
- Choose: Include Prerelease
- OData v4:
- OData v3:
Contribution
Please refer to the .
Samples
Please refer to the .