首页 > 代码库 > [转]OData/WebApi
[转]OData/WebApi
本文转自:https://github.com/OData/WebApi/tree/vNext
OData Web API
Introduction
OData Web API (i.e., ASP.NET Web API OData) is a server library built upon ODataLib and Web API.
Project structure
The master branch has the following libraries, and the packages are availabe from NuGet or MyGet:
- OData Web API v4 (namespace
System.Web.OData
) - OData Web API v3 (namespace
System.Web.Http.OData
) - vNext (namespace
Microsoft.AspNet.OData
)
Building
cd ODatabuild
Testing
Each solution contains some test projects. Install this runner 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 this.
Nightly builds
- In your NuGet Package Manager settings add the following package source:
- https://www.myget.org/F/aspnetwebstacknightly/
- Package IDs
- Choose: Include Prerelease
- OData v4: Microsoft.AspNet.OData
- OData v3: Microsoft.AspNet.WebApi.OData
Contribution
Please refer to the CONTRIBUTION.md.
Samples
Please refer to the ODataSamples WebApi.
[转]OData/WebApi
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。