Microsoft.AspNetCore.Mvc.NewtonsoftJson 11.0.0-rc.1.26425.128

About

Microsoft.AspNetCore.Mvc.NewtonsoftJson is a NuGet package designed to enable the use of JSON serialization and deserialization using Newtonsoft.Json in ASP.NET Core MVC applications. This package provides support for handling JSON input and output in ASP.NET Core MVC controllers, allowing for seamless integration with existing Newtonsoft.Json configurations and features.

Key Features

  • Integration of Newtonsoft.Json into ASP.NET Core MVC for JSON serialization and deserialization.
  • Compatible with ASP.NET Core 3.0 and newer.
  • Allows customization of JSON serialization settings.
  • Supports handling JSON requests and responses in MVC controllers.

How to Use

To start using Microsoft.AspNetCore.Mvc.NewtonsoftJson in your ASP.NET Core MVC application, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.Mvc.NewtonsoftJson

Configuration

In your Startup.cs file, configure NewtonsoftJson as the default JSON serializer for ASP.NET Core MVC:

using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;

public void ConfigureServices(IServiceCollection services)
{
    services.AddControllersWithViews()
        .AddNewtonsoftJson(options =>
        {
            // Configure Newtonsoft.Json options here
            options.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore;
            options.SerializerSettings.NullValueHandling = NullValueHandling.Ignore;
        });
}

Usage

Now, you can use Newtonsoft.Json serialization and deserialization in your ASP.NET Core MVC controllers:

using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;

public class SampleController : Controller
{
    [HttpPost]
    public IActionResult Post([FromBody] MyModel model)
    {
        // Your action logic here
    }
}

public class MyModel
{
    public string Name { get; set; }
    public int Age { get; set; }
}

For more information on configuring and using Newtonsoft.Json in ASP.NET Core MVC, refer to the official documentation.

Main Types

The main types provided by this library are:

  • NewtonsoftJsonOptions: Options for configuring Newtonsoft.Json serialization settings.
  • NewtonsoftJsonInputFormatter: Input formatter for handling JSON input using Newtonsoft.Json.
  • NewtonsoftJsonOutputFormatter: Output formatter for handling JSON output using Newtonsoft.Json.

Additional Documentation

Feedback & Contributing

Microsoft.AspNetCore.Authentication.JwtBearer is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.AspNetCore.Mvc.NewtonsoftJson.

Packages Downloads
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
139
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
141
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
142
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
143
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
144
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
146
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
147
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
148
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
150
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
152
NSwag.Commands
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
158
NSwag.Generation.AspNetCore
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
138
NSwag.Generation.AspNetCore
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
145
NSwag.Generation.AspNetCore
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
157
Swashbuckle.AspNetCore.SwaggerGen
Swagger Generator for API's built on ASP.NET Core
142
Swashbuckle.AspNetCore.SwaggerGen
Swagger Generator for API's built on ASP.NET Core
143
Swashbuckle.AspNetCore.SwaggerGen
Swagger Generator for API's built on ASP.NET Core
144
Swashbuckle.AspNetCore.SwaggerGen
Swagger Generator for API's built on ASP.NET Core
175

.NET 11.0

Version Downloads Last updated
11.0.0-rc.1.26425.128 3 09/08/2026
11.0.0-preview.7.26381.103 13 08/12/2026
11.0.0-preview.6.26359.118 22 07/15/2026
11.0.0-preview.5.26302.115 25 06/09/2026
11.0.0-preview.4.26230.115 38 05/13/2026
11.0.0-preview.3.26207.106 45 04/14/2026
11.0.0-preview.2.26159.112 47 03/12/2026
11.0.0-preview.1.26104.118 49 02/11/2026
10.0.12 3 09/09/2026
10.0.11 10 08/12/2026
10.0.10 22 07/15/2026
10.0.9 29 06/09/2026
10.0.8 22 05/13/2026
10.0.7 35 04/21/2026
10.0.6 51 04/14/2026
10.0.5 45 03/13/2026
10.0.4 39 03/11/2026
10.0.3 50 02/11/2026
10.0.2 205 01/14/2026
10.0.1 86 12/10/2025
10.0.0 225 11/11/2025
10.0.0-rc.2.25502.107 121 10/14/2025
10.0.0-rc.1.25451.107 103 09/09/2025
10.0.0-preview.7.25380.108 123 08/12/2025
10.0.0-preview.6.25358.103 106 07/15/2025
10.0.0-preview.5.25277.114 99 06/07/2025
10.0.0-preview.4.25258.110 126 05/13/2025
10.0.0-preview.3.25172.1 134 04/11/2025
10.0.0-preview.2.25164.1 140 04/02/2025
10.0.0-preview.1.25120.3 126 04/02/2025
9.0.20 3 09/09/2026
9.0.19 10 08/12/2026
9.0.18 22 07/15/2026
9.0.17 20 06/09/2026
9.0.16 31 05/13/2026
9.0.15 35 04/14/2026
9.0.14 41 03/12/2026
9.0.13 47 02/11/2026
9.0.12 51 01/14/2026
9.0.11 85 11/11/2025
9.0.10 108 10/14/2025
9.0.9 104 09/09/2025
9.0.8 339 08/05/2025
9.0.7 147 07/08/2025
9.0.6 114 06/12/2025
9.0.5 129 05/14/2025
9.0.4 122 04/11/2025
9.0.3 309 03/15/2025
9.0.2 268 02/14/2025
9.0.1 119 02/07/2025
9.0.0 139 11/14/2024
9.0.0-rc.2.24474.3 136 10/16/2024
9.0.0-rc.1.24452.1 128 09/19/2024
9.0.0-preview.7.24406.2 140 08/19/2024
9.0.0-preview.6.24328.4 159 07/19/2024
9.0.0-preview.5.24306.11 169 07/20/2024
9.0.0-preview.4.24267.6 166 07/20/2024
9.0.0-preview.3.24172.13 164 07/20/2024
9.0.0-preview.2.24128.4 158 07/20/2024
9.0.0-preview.1.24081.5 168 07/20/2024
8.0.31 2 09/09/2026
8.0.30 8 08/12/2026
8.0.29 20 07/15/2026
8.0.28 24 06/09/2026
8.0.27 26 05/13/2026
8.0.26 40 04/14/2026
8.0.25 39 03/12/2026
8.0.24 43 02/11/2026
8.0.23 54 01/14/2026
8.0.22 77 11/11/2025
8.0.21 74 10/14/2025
8.0.20 83 09/09/2025
8.0.19 114 08/05/2025
8.0.18 114 07/08/2025
8.0.17 99 06/10/2025
8.0.16 100 05/14/2025
8.0.15 122 04/10/2025
8.0.14 120 03/30/2025
8.0.13 143 03/30/2025
8.0.12 125 03/30/2025
8.0.11 126 11/14/2024
8.0.10 406 10/15/2024
8.0.8 322 08/19/2024
8.0.7 181 07/20/2024
8.0.6 191 06/27/2024
8.0.5 153 07/20/2024
8.0.4 157 07/20/2024
8.0.3 160 07/20/2024
8.0.2 224 02/15/2024
8.0.1 230 02/04/2024
8.0.0 137 07/20/2024
8.0.0-rc.2.23480.2 167 07/20/2024
8.0.0-rc.1.23421.29 143 07/20/2024
8.0.0-preview.7.23375.9 159 07/20/2024
8.0.0-preview.6.23329.11 170 07/20/2024
8.0.0-preview.5.23302.2 167 07/20/2024
8.0.0-preview.4.23260.4 144 07/20/2024
8.0.0-preview.3.23177.8 166 07/20/2024
8.0.0-preview.2.23153.2 154 07/20/2024
8.0.0-preview.1.23112.2 164 07/20/2024
7.0.20 156 07/20/2024
7.0.19 140 07/20/2024
7.0.18 153 07/20/2024
7.0.17 146 07/20/2024
7.0.16 148 07/20/2024
7.0.15 139 07/20/2024
7.0.14 155 07/20/2024
7.0.13 164 07/20/2024
7.0.12 155 07/20/2024
7.0.11 153 07/20/2024
7.0.10 156 07/20/2024
7.0.9 139 07/20/2024
7.0.8 146 07/20/2024
7.0.7 150 07/20/2024
7.0.5 150 07/20/2024
7.0.4 171 07/20/2024
7.0.3 206 02/04/2024
7.0.2 155 07/20/2024
7.0.1 152 07/20/2024
7.0.0 153 02/04/2024
7.0.0-rc.2.22476.2 164 07/20/2024
7.0.0-rc.1.22427.2 143 07/20/2024
7.0.0-preview.7.22376.6 148 07/20/2024
7.0.0-preview.6.22330.3 163 07/20/2024
7.0.0-preview.5.22303.8 154 07/20/2024
7.0.0-preview.4.22251.1 178 07/20/2024
7.0.0-preview.3.22178.4 153 07/20/2024
7.0.0-preview.2.22153.2 149 07/20/2024
7.0.0-preview.1.22109.13 168 07/20/2024
6.0.36 127 11/14/2024
6.0.35 128 10/19/2024
6.0.33 141 08/19/2024
6.0.32 135 07/20/2024
6.0.31 154 07/20/2024
6.0.30 155 07/20/2024
6.0.29 145 07/20/2024
6.0.28 152 07/20/2024
6.0.27 153 07/20/2024
6.0.26 159 07/20/2024
6.0.25 141 07/20/2024
6.0.24 159 07/20/2024
6.0.23 148 07/20/2024
6.0.22 156 07/20/2024
6.0.21 146 07/20/2024
6.0.20 141 07/20/2024
6.0.19 161 07/20/2024
6.0.18 154 07/20/2024
6.0.16 150 07/20/2024
6.0.15 155 07/20/2024
6.0.14 147 07/20/2024
6.0.13 137 07/20/2024
6.0.12 147 07/20/2024
6.0.11 152 07/20/2024
6.0.10 147 07/20/2024
6.0.9 151 07/20/2024
6.0.8 155 07/20/2024
6.0.7 155 07/20/2024
6.0.6 151 07/20/2024
6.0.5 143 07/20/2024
6.0.4 170 07/19/2024
6.0.3 176 02/05/2024
6.0.2 149 07/19/2024
6.0.1 145 07/19/2024
6.0.0 152 07/19/2024
6.0.0-rc.2.21480.10 159 07/19/2024
6.0.0-rc.1.21452.15 174 07/19/2024
6.0.0-preview.7.21378.6 152 07/19/2024
6.0.0-preview.6.21355.2 156 07/19/2024
6.0.0-preview.5.21301.17 166 07/19/2024
6.0.0-preview.4.21253.5 169 07/19/2024
6.0.0-preview.3.21201.13 162 07/19/2024
6.0.0-preview.2.21154.6 156 07/19/2024
6.0.0-preview.1.21103.6 172 07/19/2024
5.0.17 152 07/19/2024
5.0.16 149 07/19/2024
5.0.15 165 07/19/2024
5.0.14 139 07/19/2024
5.0.13 139 07/19/2024
5.0.12 155 07/19/2024
5.0.11 152 07/19/2024
5.0.10 160 07/19/2024
5.0.9 144 07/19/2024
5.0.8 169 07/19/2024
5.0.7 142 07/19/2024
5.0.6 161 07/19/2024
5.0.5 147 07/19/2024
5.0.4 156 07/19/2024
5.0.3 142 07/19/2024
5.0.2 155 07/19/2024
5.0.1 146 07/19/2024
5.0.0 155 07/19/2024
5.0.0-rc.2.20475.17 172 07/19/2024
5.0.0-rc.1.20451.17 145 07/19/2024
5.0.0-preview.8.20414.8 158 07/19/2024
5.0.0-preview.7.20365.19 141 07/19/2024
5.0.0-preview.6.20312.15 166 07/19/2024
5.0.0-preview.5.20279.2 153 07/19/2024
5.0.0-preview.4.20257.10 153 07/19/2024
5.0.0-preview.3.20215.14 166 07/19/2024
5.0.0-preview.2.20167.3 164 07/19/2024
5.0.0-preview.1.20124.5 154 07/19/2024
3.1.32 152 07/19/2024
3.1.31 159 07/19/2024
3.1.30 155 07/19/2024
3.1.29 147 07/19/2024
3.1.28 166 07/19/2024
3.1.27 157 07/19/2024
3.1.26 171 07/19/2024
3.1.25 148 07/19/2024
3.1.24 165 07/19/2024
3.1.23 160 07/19/2024
3.1.22 166 07/19/2024
3.1.21 151 07/19/2024
3.1.20 146 07/19/2024
3.1.19 161 07/19/2024
3.1.18 157 07/19/2024
3.1.17 170 07/19/2024
3.1.16 151 07/19/2024
3.1.15 151 07/19/2024
3.1.14 141 07/19/2024
3.1.13 146 07/19/2024
3.1.12 155 07/19/2024
3.1.11 165 07/19/2024
3.1.10 156 07/19/2024
3.1.9 153 07/19/2024
3.1.8 153 07/19/2024
3.1.7 161 07/19/2024
3.1.6 144 07/19/2024
3.1.5 145 07/19/2024
3.1.4 162 07/19/2024
3.1.3 150 07/19/2024
3.1.2 129 07/19/2024
3.1.1 174 07/19/2024
3.1.0 162 07/19/2024
3.1.0-preview3.19555.2 173 07/19/2024
3.1.0-preview2.19528.8 157 07/19/2024
3.1.0-preview1.19508.20 140 07/19/2024
3.0.3 150 07/19/2024
3.0.2 152 07/19/2024
3.0.0 143 07/19/2024
3.0.0-rc1.19457.4 158 07/19/2024
3.0.0-preview9.19424.4 153 07/19/2024
3.0.0-preview8.19405.7 173 07/19/2024
3.0.0-preview7.19365.7 162 07/19/2024
3.0.0-preview6.19307.2 159 07/19/2024
3.0.0-preview5-19227-01 162 07/19/2024
3.0.0-preview4-19216-03 155 07/19/2024
3.0.0-preview3-19153-02 157 07/19/2024
3.0.0-preview-19075-0444 160 07/19/2024