Skip to content

Commit 36fe260

Browse files
authored
Delocalize package name (#18371)
1 parent d336346 commit 36fe260

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

aspnetcore/migration/22-to-30.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ To continue using features provided by the removed assemblies, reference the 3.0
268268

269269
* Razor runtime compilation – Support for runtime compilation of Razor views and pages is now part of [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation).
270270

271-
* MVC `Newtonsoft.Json` (Json.NET) support – Support for using MVC with `Newtonsoft.Json` is now part of [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson).
271+
* MVC `Newtonsoft.Json` (Json.NET) support – Support for using MVC with `Newtonsoft.Json` is now part of [`Microsoft.AspNetCore.Mvc.NewtonsoftJson`](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson).
272272

273273
## Startup changes
274274

@@ -466,7 +466,7 @@ The default JSON serializer for ASP.NET Core is now <xref:System.Text.Json>, whi
466466

467467
### Use Newtonsoft.Json in an ASP.NET Core 3.0 MVC project
468468

469-
* Install the [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson) package.
469+
* Install the [`Microsoft.AspNetCore.Mvc.NewtonsoftJson`](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson) package.
470470

471471
* Update `Startup.ConfigureServices` to call `AddNewtonsoftJson`.
472472

@@ -495,7 +495,7 @@ The default JSON serializer for ASP.NET Core is now <xref:System.Text.Json>, whi
495495
new CamelCasePropertyNamesContractResolver());
496496
```
497497

498-
**Note:** If the `AddNewtonsoftJson` method isn't available, make sure that you installed the [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson) package. A common error is to install the [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) package instead of the [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson) package.
498+
**Note:** If the `AddNewtonsoftJson` method isn't available, make sure that you installed the [`Microsoft.AspNetCore.Mvc.NewtonsoftJson`](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson) package. A common error is to install the [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) package instead of the [`Microsoft.AspNetCore.Mvc.NewtonsoftJson`](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson) package.
499499

500500
## MVC service registration
501501

aspnetcore/tutorials/first-mongo-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ There are two details to change about the JSON responses returned in the [Test t
341341

342342
To satisfy the preceding requirements, make the following changes:
343343

344-
1. JSON.NET has been removed from ASP.NET shared framework. Add a package reference to [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson).
344+
1. JSON.NET has been removed from ASP.NET shared framework. Add a package reference to [`Microsoft.AspNetCore.Mvc.NewtonsoftJson`](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson).
345345

346346
1. In `Startup.ConfigureServices`, chain the following highlighted code on to the `AddControllers` method call:
347347

aspnetcore/tutorials/first-mongo-app/samples/3.x/SampleApp/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ There are two details to change about the JSON responses returned in the [Test t
463463

464464
To satisfy the preceding requirements, make the following changes:
465465

466-
1. JSON.NET has been removed from ASP.NET shared framework. Add a package reference to [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson).
466+
1. JSON.NET has been removed from ASP.NET shared framework. Add a package reference to [`Microsoft.AspNetCore.Mvc.NewtonsoftJson`](https://nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson).
467467

468468
1. In `Startup.ConfigureServices`, chain the following highlighted code on to the `AddMvc` method call:
469469

aspnetcore/web-api/jsonpatch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This article explains how to handle JSON Patch requests in an ASP.NET Core web A
2121

2222
To enable JSON Patch support in your app, complete the following steps:
2323

24-
1. Install the [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson/) NuGet package.
24+
1. Install the [`Microsoft.AspNetCore.Mvc.NewtonsoftJson`](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson/) NuGet package.
2525
1. Update the project's `Startup.ConfigureServices` method to call <xref:Microsoft.Extensions.DependencyInjection.NewtonsoftJsonMvcBuilderExtensions.AddNewtonsoftJson*>. For example:
2626

2727
```csharp

0 commit comments

Comments
 (0)