webapinetcore - Microsoft.AspNetCore.OData.NewtonsoftJson 10.0.0-Nightly202511280513

This package contains customized Newtonsoft.Json serializer converters to support OData serialization.

PM> Install-Package Microsoft.AspNetCore.OData.NewtonsoftJson -Version 10.0.0-Nightly202511280513 -Source https://www.myget.org/F/webapinetcore/api/v3/index.json

Copy to clipboard

> nuget.exe install Microsoft.AspNetCore.OData.NewtonsoftJson -Version 10.0.0-Nightly202511280513 -Source https://www.myget.org/F/webapinetcore/api/v3/index.json

Copy to clipboard

> dotnet add package Microsoft.AspNetCore.OData.NewtonsoftJson --version 10.0.0-Nightly202511280513 --source https://www.myget.org/F/webapinetcore/api/v3/index.json

Copy to clipboard
<PackageReference Include="Microsoft.AspNetCore.OData.NewtonsoftJson" Version="10.0.0-Nightly202511280513" />
Copy to clipboard
source https://www.myget.org/F/webapinetcore/api/v3/index.json

nuget Microsoft.AspNetCore.OData.NewtonsoftJson  ~> 10.0.0-Nightly202511280513
Copy to clipboard

> choco install Microsoft.AspNetCore.OData.NewtonsoftJson --version 10.0.0-Nightly202511280513 --source https://www.myget.org/F/webapinetcore/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "webapinetcore" -SourceLocation "https://www.myget.org/F/webapinetcore/api/v2"
Install-Module -Name "Microsoft.AspNetCore.OData.NewtonsoftJson" -RequiredVersion "10.0.0-Nightly202511280513" -Repository "webapinetcore" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/webapinetcore/api/v2/symbolpackage/


ASP.NET Core OData 8.x


Component Build Status
ASP.NET Core OData Rolling Build status
ASP.NET Core OData Nightly Build status
.NET Foundation Release Build status

1. Introduction

Be noted: Switch to use "main" as default branch. 1/6/2022

This is the official ASP.NET Core OData repository. ASP.NET Core OData is a server side library built upon ODataLib and ASP.NET Core.

Blogs:

Example:

  • ODataRoutingSample: ASP.NET Core OData sample project in this repo.

    • ~/$odata gives a static routing table page of the service

    • ~/swagger gives a swagger/openapi page

    • Append ~/$openapi to each route gives a raw openapi OData page, for example, ~/v1/$openapi

    Please go to sample folder see more samples.

Solution:

2. Basic Usage

In the ASP.NET Core Web Application project, update your Startup.cs as below:

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddDbContext<BookStoreContext>(opt => opt.UseInMemoryDatabase("BookLists"));
        services.AddControllers().AddOData(opt => opt.AddRouteComponents("odata", GetEdmModel()));
    }

    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        // Send "~/$odata" to debug routing if enable the following middleware
        // app.UseODataRouteDebug();

        app.UseRouting();
        app.UseEndpoints(endpoints =>
        {
            endpoints.MapControllers();
        });
    }

    private static IEdmModel GetEdmModel()
    {
        // …
    }
}

That's it.

3. Building, Testing, Debugging and Release

3.1 Building and Testing in Visual Studio

Visual Studio 2022 is required to build the source project in order to support the DateOnly and TimeOnly types, which were introduced in .NET 6.

3.2 One-click build and test script in command line

Coming soon.

3.3 Debug

The symbol package is uploaded to nuget symbol server.

It supports source link debug. Remember to check Enable Source Link support if you debug using Visual Studio.

3.4 Nightly Builds

The nightly build process will upload NuGet packages for ASP.NET Core OData to:

To connect to webapinightly feed, use this feed URL:

4. Documentation

5. Community

5.1 Contribution

Any contributions, feature requests, bugs and issues are welcome.

5.2 Support

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.

AspNetCoreOData is a Copyright of © .NET Foundation and other contributors. It is licensed under MIT License

  • .NETFramework 10.0
    • Microsoft.AspNetCore.OData (>= 10.0.0-Nightly202511280513)
  • .NETFramework 10.0: 10.0.0.0

Signature validation information

Informational

Signature Hash Algorithm: SHA256

Timestamp: 11/28/2025 5:15:59 AM

Verifying author primary signature's timestamp with timestamping service certificate: 
  Subject Name: CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O="DigiCert, Inc.", C=US
  SHA1 hash: DD6230AC860A2D306BDA38B16879523007FB417E
  SHA256 hash: 4AA03FA22CD75C84C55C938F828E676B9CAECAB33FE36D269AA334F146110A33
  Issued by: CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O="DigiCert, Inc.", C=US
  Valid from: 6/4/2025 12:00:00 AM to 9/3/2036 11:59:59 PM

Signature type: Author

Verifying the author primary signature with certificate: 
  Subject Name: CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  SHA1 hash: F25C45D17C53D4E0D1DC9FB9DFD0731FCF904B77
  SHA256 hash: 566A31882BE208BE4422F7CFD66ED09F5D4524A5994F50CCC8B05EC0528C1353
  Issued by: CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US
  Valid from: 7/27/2023 12:00:00 AM to 10/17/2026 11:59:59 PM

Owners

OData Team

Authors

Microsoft

Project URL

http://github.com/OData/AspNetCoreOData

License

Unknown

Tags

Microsoft AspNetCore WebApi OData Newtonsoft.Json

Signature

Validation: Valid

Info

11 total downloads
0 downloads for version 10.0.0-Nightly202511280513
Download (32.58 KB)
Download symbols (14.36 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
10.0.0-Nightly202511280513 32.58 KB Fri, 28 Nov 2025 05:25:10 GMT 0
10.0.0-Nightly202511271312 32.58 KB Thu, 27 Nov 2025 13:23:43 GMT 0
9.4.1-Nightly202511100520 32.6 KB Mon, 10 Nov 2025 05:33:13 GMT 1
9.4.1-Nightly202511050747 32.59 KB Wed, 05 Nov 2025 07:56:03 GMT 1
9.4.1-Nightly202510240516 32.6 KB Fri, 24 Oct 2025 05:27:06 GMT 1
9.4.1-Nightly202510231759 32.59 KB Thu, 23 Oct 2025 18:09:17 GMT 1
9.4.1-Nightly202510230518 32.6 KB Thu, 23 Oct 2025 05:27:52 GMT 0
9.4.1-Nightly202510221729 32.59 KB Wed, 22 Oct 2025 17:37:57 GMT 1
9.4.0-Nightly202511050225 32.6 KB Wed, 05 Nov 2025 02:35:24 GMT 1
9.4.0-Nightly202510100515 32.6 KB Fri, 10 Oct 2025 05:25:17 GMT 1
9.4.0-Nightly202510080516 32.59 KB Wed, 08 Oct 2025 05:25:25 GMT 1
9.4.0-Nightly202510060517 32.59 KB Mon, 06 Oct 2025 05:26:10 GMT 1
9.4.0-Nightly202509170515 32.58 KB Wed, 17 Sep 2025 05:29:17 GMT 1
9.4.0-Nightly202509040515 32.59 KB Thu, 04 Sep 2025 05:25:05 GMT 0
9.4.0-Nightly202508270514 32.6 KB Wed, 27 Aug 2025 05:23:47 GMT 1