Microsoft.AspNet.OData
7.7.9
Prefix Reserved
dotnet add package Microsoft.AspNet.OData --version 7.7.9
NuGet\Install-Package Microsoft.AspNet.OData -Version 7.7.9
<PackageReference Include="Microsoft.AspNet.OData" Version="7.7.9" />
<PackageVersion Include="Microsoft.AspNet.OData" Version="7.7.9" />
<PackageReference Include="Microsoft.AspNet.OData" />
paket add Microsoft.AspNet.OData --version 7.7.9
#r "nuget: Microsoft.AspNet.OData, 7.7.9"
#:package Microsoft.AspNet.OData@7.7.9
#addin nuget:?package=Microsoft.AspNet.OData&version=7.7.9
#tool nuget:?package=Microsoft.AspNet.OData&version=7.7.9
OData Web API
Build | Status |
---|---|
Odata.WebApi Rolling Dotnet pipeline | <img src="https://dev.azure.com/dotnet/OData/_apis/build/status/OData.WebApi-Rolling?branchName=master"/> |
WebApi Rolling | <img src="https://identitydivision.visualstudio.com/OData/_apis/build/status/WebApi/WebApi-master-pipeline-Rolling"/> |
WebApi Nightly | <img src="https://dev.azure.com/dotnet/OData/_apis/build/status/OData.WebApi%20Nightly?branchName=master"/> |
Introduction
OData Web API (i.e., ASP.NET Web API OData) is a server library built upon ODataLib and Web API.
Project structure
The project currently has the following branches:
master branch
This is the active development branch for OData WebApi and it is currently most actively iterated. The package name is Microsoft.AspNet.OData. The is the OData WebApi for ODL v7.x releases which contain breaking changes against ODL v6.
release branch
This is the release branch for OData WebApi, contains code base up to most recently stable WebApi release. The latest release version is 6.0.
feature/netcore branch
This is the feature development branch for OData WebApi for AspNet and AspNetCore. The package names are Microsoft.AspNet.OData and Microsoft.AspNetCore.OData. The is the OData WebApi 7.0 release which contain breaking changes against OData WebApi 6.0.
gh-pages branch
The gh-pages branch contains the old documentation source for OData WebApi - tutorials, guides, etc. For the most up-to-date documentation you should use Microsoft docs.
maintenance-aspnetcore branch
This is the maintenance branch for OData WebApi with ASP.NET Core support. The package name is Microsoft.AspNetCore.OData.
maintenance-V4 branch
This is the maintenance branch for OData WebApi based on ODL 6.x, which implements the ODataV4 protocol. The package name is Microsoft.AspNet.OData, with latest maintenance release version 5.10.
maintenance-V3 branch
This is the maintenance branch for OData WebApi based on ODL 5.x, which implements the ODataV3 protocol. The package name is Microsoft.AspNet.WebApi.OData, with latest maintenance release version 5.7.
maintenance-dnx branch
This is maintenance branch for an early prototype version of OData WebApi based on original ASP.NET Core, aka DNX. Package name is Microsoft.AspNet.OData. This is for project archive purpose only, is not active and doesn't accept contributions. It has only one release.
odata-v5.3-rtm v2.0-rtm v3-rtm v3.1-rtm v3.2-rtm branches
These are maintenance branches for previous RTMs. Project archives only, contributions not accepted.
Building
build.cmd
Testing
Each solution contains some test projects. Test projects use xUnit runner nuget package.
Tests will not run correctly unless SkipStrongNames is Enabled. Please run
build.cmd EnableSkipStrongNames
Run tests in cmd
To run end-to-end tests, you need to open an elevated - Run as administrator - command prompt
build.cmd
build projects, run unit tests, and OData end-to-end tests.build.cmd quick
build project, and run unit tests
To disable the SkipStrongNames:
build.cmd DisableSkipStrongNames
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.
Nightly builds
The nightly build process will upload a NuGet packages for WebApi to: v7.x.x: MyGet.org webapinetcore feed v6.x.x: MyGet.org webapinightly feed
To connect to webapinightly feed, use this feed URL: v7.x.x: webapinetcore MyGet feed URL v6.x.x: webapinightly MyGet feed URL
You can query the latest nightly NuGet packages using this query: v7.x.x: MAGIC WebApi query v6.x.x: MAGIC WebApi query
Contribution
Please refer to the CONTRIBUTION.md.
Reporting Security Issues
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter. You can also find these instructions in this repo's SECURITY.md.
Documentation
Please visit the OData Web API pages.
Samples
Please refer to the ODataSamples Repro.
Debug
Please refer to the How to debug.
Code of Conduct
This project has adopted the .NET Foundation Contributor Covenant Code of Conduct. For more information see the Code of Conduct FAQ.
.NET Foundation
This project is supported by the .NET Foundation.
WebApi is a Copyright of © .NET Foundation and other contributors. It is licensed under MIT License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.WebApi.Client (>= 5.2.2)
- Microsoft.AspNet.WebApi.Core (>= 5.2.2)
- Microsoft.Extensions.DependencyInjection (>= 1.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 1.0.0)
- Microsoft.OData.Core (>= 7.20.0 && < 8.0.0)
NuGet packages (78)
Showing the top 5 NuGet packages that depend on Microsoft.AspNet.OData:
Package | Downloads |
---|---|
Swashbuckle.OData
Extends Swashbuckle with OData v4 support! Supports both WebApi and OData controllers! |
|
Microsoft.AspNet.OData.Versioning
A service API versioning library for Microsoft ASP.NET Web API and OData v4.0. |
|
BumperLane.Tenant.Api.Framework
Framework for BumperLane API sites |
|
Cireson.Platform.Extension.WebUi
Cireson Web UI |
|
Abp.Web.Api.OData
Abp.Web.Api.OData |
GitHub repositories (14)
Showing the top 14 popular GitHub repositories that depend on Microsoft.AspNet.OData:
Repository | Stars |
---|---|
linq2db/linq2db
Linq to database provider.
|
|
dotnet/aspnet-api-versioning
Provides a set of libraries which add service API versioning to ASP.NET Web API, OData with ASP.NET Web API, and ASP.NET Core.
|
|
smartstore/SmartStoreNET
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
|
|
microsoft/PowerPlatformConnectors
This is a repository for Microsoft Power Automate, Power Apps, and Azure Logic Apps connectors
|
|
GregFinzer/Compare-Net-Objects
What you have been waiting for :+1: Perform a deep compare of any two .NET objects using reflection. Shows the differences between the two objects.
|
|
OData/RESTier
A turn-key library for building RESTful services
|
|
filipw/apress-recipes-webapi
Samples from ASP.NET Web API 2: Recipes book.
|
|
rstropek/Samples
|
|
OData/ODataSamples
Samples: For ODataLib, OData Web API, RESTier, etc.
|
|
zLulus/NotePractice
My_Note 笔记练习demo
|
|
Azure/azure-stream-analytics
Azure Stream Analytics
|
|
martin-nikolov/Telerik-Academy
Course exercises | Telerik Academy 2013/2014 | Martin Nikolov
|
|
AutoMapper/AutoMapper.Extensions.OData
Creates LINQ expressions from ODataQueryOptions and executes the query.
|
|
rbeauchamp/Swashbuckle.OData
Extends Swashbuckle with OData v4 support!
|
Version | Downloads | Last Updated |
---|---|---|
7.7.9 | 3,962 | 8/22/2025 |
7.7.8 | 112,342 | 1/31/2025 |
7.7.7 | 91,961 | 11/11/2024 |
7.7.6 | 177,788 | 7/12/2024 |
7.7.5 | 143,161 | 5/7/2024 |
7.7.4 | 146,086 | 1/29/2024 |
7.7.3 | 110,713 | 11/30/2023 |
7.7.2 | 44,232 | 10/29/2023 |
7.7.1 | 178,364 | 7/25/2023 |
7.7.0 | 83,289 | 5/25/2023 |
7.6.5 | 89,303 | 3/16/2023 |
7.6.4 | 48,313 | 2/16/2023 |
7.6.3 | 68,491 | 12/28/2022 |
7.6.1 | 90,389 | 10/24/2022 |
7.6.1-beta | 3,180 | 1/24/2022 |
7.6.0 | 4,975 | 10/20/2022 |
7.6.0-beta | 1,001 | 10/31/2021 |
7.5.18 | 209,934 | 10/21/2022 |
7.5.17 | 120,865 | 8/19/2022 |
7.5.15 | 77,523 | 6/4/2022 |
7.5.14 | 351,577 | 3/9/2022 |
7.5.12 | 263,873 | 10/8/2021 |
7.5.11 | 68,976 | 10/1/2021 |
7.5.10 | 11,787 | 8/26/2021 |
7.5.9 | 1,235,750 | 8/12/2021 |
7.5.8 | 280,431 | 5/1/2021 |
7.5.7 | 116,380 | 3/26/2021 |
7.5.6 | 126,351 | 2/17/2021 |
7.5.5 | 64,530 | 1/20/2021 |
7.5.4 | 20,041 | 12/24/2020 |
7.5.2 | 302,353 | 11/12/2020 |
7.5.1 | 101,738 | 10/22/2020 |
7.5.0 | 167,544 | 9/18/2020 |
7.4.1 | 694,192 | 5/22/2020 |
7.4.0 | 127,391 | 4/20/2020 |
7.4.0-beta2 | 1,457 | 4/10/2020 |
7.4.0-beta | 16,186 | 3/4/2020 |
7.3.0 | 252,911 | 12/23/2019 |
7.2.3 | 51,704 | 12/11/2019 |
7.2.2 | 250,710 | 10/9/2019 |
7.2.1 | 174,756 | 8/5/2019 |
7.1.0 | 1,014,721 | 11/20/2018 |
7.0.1 | 874,364 | 7/18/2018 |
7.0.0 | 2,928,883 | 6/29/2018 |
7.0.0-beta4 | 18,794 | 5/31/2018 |
6.1.0 | 950,228 | 9/7/2017 |
6.1.0-beta | 1,720 | 7/27/2017 |
6.0.0 | 1,484,279 | 9/14/2016 |
6.0.0-beta2 | 11,927 | 8/29/2016 |
5.11.0 | 142,394 | 9/7/2017 |
5.11.0-beta | 8,361 | 7/27/2017 |
5.10.0 | 688,765 | 3/21/2017 |
5.9.1 | 1,535,861 | 7/7/2016 |
5.9.0 | 943,652 | 4/1/2016 |
5.9.0-beta | 2,837 | 2/5/2016 |
5.8.0 | 451,476 | 1/13/2016 |
5.8.0-rc | 1,859 | 12/24/2015 |
5.8.0-beta | 2,444 | 11/24/2015 |
5.7.0 | 724,255 | 8/21/2015 |
5.7.0-rc | 3,120 | 8/6/2015 |
5.7.0-beta | 3,617 | 7/24/2015 |
5.6.0 | 225,592 | 5/29/2015 |
5.6.0-rc2 | 3,068 | 5/25/2015 |
5.6.0-beta1 | 2,622 | 5/5/2015 |
5.5.1 | 136,744 | 4/7/2015 |
5.5.1-rc1 | 2,764 | 4/3/2015 |
5.5.0-beta | 1,763 | 3/20/2015 |
5.4.0 | 336,832 | 2/6/2015 |
5.4.0-rc | 2,725 | 1/30/2015 |
5.4.0-beta | 1,793 | 1/16/2015 |
5.3.1 | 125,861 | 10/9/2014 |
5.3.1-beta | 2,777 | 9/30/2014 |
5.3.0 | 47,677 | 9/11/2014 |
5.3.0-rc | 2,866 | 8/26/2014 |
5.2.2 | 11,284 | 8/28/2014 |
5.2.2-rc | 2,590 | 8/23/2014 |
5.2.1 | 28,052 | 7/21/2014 |
5.2.0 | 147,913 | 7/1/2014 |
5.2.0-rc | 3,853 | 5/27/2014 |