Skip to content

Commit 47a119a

Browse files
authored
Simplify and extend breaking changes guidance (#35960)
1 parent bf395e8 commit 47a119a

24 files changed

Lines changed: 81 additions & 37 deletions

aspnetcore/fundamentals/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ For more information, see [Contribute to the ASP.NET documentation: Code snippet
290290

291291
## Additional resources
292292

293-
* <xref:blazor/fundamentals/index>
293+
<xref:blazor/fundamentals/index>
294294

295295
:::moniker-end
296296

aspnetcore/migration/20_21.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ For more information, see <xref:security/enforcing-ssl>.
245245

246246
## Breaking changes
247247

248+
Use the articles in [Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes) to find breaking changes that might apply when upgrading an app to a newer version of .NET.
249+
248250
### FileResult Range header
249251

250252
<xref:Microsoft.AspNetCore.Mvc.FileResult> no longer processes the [Accept-Ranges](https://developer.mozilla.org/docs/Web/HTTP/Headers/Accept-Ranges) header by default. To enable the `Accept-Ranges` header, set <xref:Microsoft.AspNetCore.Mvc.FileResult.EnableRangeProcessing> to `true`.

aspnetcore/migration/21-to-22.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ This article explains how to update an existing ASP.NET Core 2.1 project to ASP.
2929

3030
---
3131

32+
## Breaking changes
33+
34+
Use the articles in [Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes) to find breaking changes that might apply when upgrading an app to a newer version of .NET.
35+
3236
## Update Target Framework Moniker (TFM)
3337

3438
Projects targeting .NET Core should use the [TFM](/dotnet/standard/frameworks) of a version greater than or equal to .NET Core 2.2. In the project file, update the `<TargetFramework>` node's inner text with `netcoreapp2.2`:

aspnetcore/migration/22-to-30.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ For more information on Razor file compilation, see <xref:mvc/views/view-compila
11591159

11601160
Libraries often need to support multiple versions of ASP.NET Core. Most libraries that were compiled against previous versions of ASP.NET Core should continue working without issues. The following conditions require the app to be cross-compiled:
11611161

1162-
* The library relies on a feature that has a binary [breaking change](#breaking-api-changes).
1162+
* The library relies on a feature that has a binary [breaking change](#breaking-changes).
11631163
* The library wants to take advantage of new features in ASP.NET Core 3.0.
11641164

11651165
For example:
@@ -1228,13 +1228,14 @@ public async Task GenericCreateAndStartHost_GetTestServer()
12281228

12291229
<a name="break"></a>
12301230

1231-
## Breaking API changes
1231+
## Breaking changes
12321232

1233-
Review breaking changes:
1233+
Use the articles in [Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes) to find breaking changes that might apply when upgrading an app to a newer version of .NET.
1234+
1235+
For more information, see the following resources:
12341236

12351237
* [Complete list of breaking changes in the ASP.NET Core 3.0 release](https://github.com/aspnet/Announcements/issues?page=1&q=is%3Aissue+is%3Aopen+label%3A%22Breaking+change%22+label%3A3.0.0)
12361238
* [Breaking API changes in Antiforgery, CORS, Diagnostics, MVC, and Routing](https://github.com/aspnet/Announcements/issues/387). This list includes breaking changes for compatibility switches.
1237-
* For a summary of 2.2-to-3.0 breaking changes across .NET Core, ASP.NET Core, and Entity Framework Core, see [Breaking changes for migration from version 2.2 to 3.0](/dotnet/core/compatibility/2.2-3.0).
12381239
12391240
## Endpoint routing with catch-all parameter
12401241

aspnetcore/migration/30-to-31.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ In the `.pubxml` file update the `TargetFramework` to 3.1:
9595
+ <TargetFramework>netcoreapp3.1</TargetFramework>
9696
```
9797

98-
## Review breaking changes
98+
## Breaking changes
9999

100-
Review 3.0-to-3.1 breaking changes across .NET Core, ASP.NET Core, and Entity Framework Core at [Breaking changes for migration from version 3.0 to 3.1](/dotnet/core/compatibility/3.0-3.1).
100+
Use the articles in [Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes) to find breaking changes that might apply when upgrading an app to a newer version of .NET.
101101

102102
## Optional changes
103103

aspnetcore/migration/31-to-50.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,6 @@ The following tutorials also explain the migration:
777777
* [An ASP.NET Core Web app signing-in users with the Microsoft identity platform in your organization](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/1-WebApp-OIDC/1-1-MyOrg#option-2-create-the-sample-from-the-command-line). See **Option 2: Create the sample from the command line**.
778778
* [Sign-in a user with the Microsoft identity platform in a WPF Desktop application and call an ASP.NET Core Web API](https://github.com/Azure-Samples/active-directory-dotnet-native-aspnetcore-v2/tree/master/1.%20Desktop%20app%20calls%20Web%20API#how-was-the-code-created). See **How was the code created**.
779779

780-
## Review breaking changes
780+
## Breaking changes
781781

782-
For breaking changes from .NET Core 3.1 to .NET 5, see [Breaking changes for migration from version 3.1 to 5.0](/dotnet/core/compatibility/3.1-5.0). ASP.NET Core and Entity Framework Core are also included in the list.
782+
Use the articles in [Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes) to find breaking changes that might apply when upgrading an app to a newer version of .NET.

aspnetcore/migration/31-to-60.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,11 @@ For more information, see [Obsoleting DatabaseErrorPage middleware (dotnet/aspne
205205

206206
[!INCLUDE[](~/includes/appname6.md)]
207207

208-
## Review breaking changes
208+
## Breaking changes
209209

210-
See the following resources:
210+
Use the articles in [Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes) to find breaking changes that might apply when upgrading an app to a newer version of .NET.
211211

212-
* [Identity: Default Bootstrap version of UI changed](/dotnet/core/compatibility/aspnet-core/6.0/identity-bootstrap4-to-5)
213-
* [Breaking changes for migration from version 3.1 to 5.0](/dotnet/core/compatibility/3.1-5.0). ASP.NET Core and Entity Framework Core are also included in the list.
214-
* [Breaking changes for migration from .NET 5 to .NET 6](/dotnet/core/compatibility/6.0): Includes ASP.NET Core and Entity Framework Core.
215-
* [Announcements GitHub repository (aspnet/Announcements, `6.0.0` label)](https://github.com/aspnet/Announcements/issues?q=is%3Aissue+label%3A6.0.0+is%3Aopen): Includes breaking and non-breaking information.
216-
* [Announcements GitHub repository (aspnet/Announcements, `5.0.0` label)](https://github.com/aspnet/Announcements/issues?q=is%3Aissue+label%3A5.0.0+is%3Aopen): Includes breaking and non-breaking information.
212+
For more information, see the following resources:
213+
214+
* [Announcements GitHub repository (`aspnet/Announcements`, `6.0.0` label)](https://github.com/aspnet/Announcements/issues?q=is%3Aissue+label%3A6.0.0+is%3Aopen): Includes breaking and non-breaking information.
215+
* [Announcements GitHub repository (`aspnet/Announcements`, `5.0.0` label)](https://github.com/aspnet/Announcements/issues?q=is%3Aissue+label%3A5.0.0+is%3Aopen): Includes breaking and non-breaking information.

aspnetcore/migration/50-to-60-samples.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ms.author: wpickett
77
ms.date: 10/22/2021
88
uid: migration/50-to-60-samples
99
---
10-
1110
# Code samples migrated to the new minimal hosting model in ASP.NET Core in .NET 6
1211

1312
<!--

aspnetcore/migration/50-to-60.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,11 @@ public DbSet<Key> Keys { get; set; }
330330

331331
<xref:migration/50-to-60-samples>
332332

333-
## Review breaking changes
333+
## Breaking changes
334334

335-
See the following resources:
335+
Use the articles in [Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes) to find breaking changes that might apply when upgrading an app to a newer version of .NET.
336336

337-
* [Identity: Default Bootstrap version of UI changed](/dotnet/core/compatibility/aspnet-core/6.0/identity-bootstrap4-to-5)
338-
* [Breaking changes for migration from version .NET 5 to .NET 6](/dotnet/core/compatibility/6.0): Includes ASP.NET Core and Entity Framework Core.
339-
* [Announcements GitHub repository (aspnet/Announcements, `6.0.0` label)](https://github.com/aspnet/Announcements/issues?q=is%3Aissue+label%3A6.0.0+is%3Aopen): Includes breaking and non-breaking information.
337+
For more information, see [Announcements GitHub repository (`aspnet/Announcements`, `6.0.0` label)](https://github.com/aspnet/Announcements/issues?q=is%3Aissue+label%3A6.0.0+is%3Aopen): Includes breaking and non-breaking information.
340338

341339
## Nullable reference types (NRTs) and .NET compiler null-state static analysis
342340

aspnetcore/migration/60-70.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,6 @@ For apps using Docker, update your *Dockerfile* `FROM` statements and scripts. U
209209
+ docker pull mcr.microsoft.com/dotnet/aspnet:7.0
210210
```
211211

212-
## Review breaking changes
212+
## Breaking changes
213213

214-
For breaking changes from .NET 6 to .NET 7, see [Breaking changes in .NET 7](/dotnet/core/compatibility/7.0). ASP.NET Core and Entity Framework Core are included in the list.
214+
Use the articles in [Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes) to find breaking changes that might apply when upgrading an app to a newer version of .NET.

0 commit comments

Comments
 (0)