Skip to content

Commit eed7d88

Browse files
authored
Remove ASP.NET Core breaking changes (#51381)
1 parent 96034f2 commit eed7d88

105 files changed

Lines changed: 414 additions & 6433 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.core.json

Lines changed: 380 additions & 0 deletions
Large diffs are not rendered by default.

docs/core/compatibility/10.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,7 @@ If you're migrating an app to .NET 10, the breaking changes listed here might af
1717
1818
## ASP.NET Core
1919

20-
| Title | Type of change |
21-
|-------|-------------------|
22-
| [Cookie login redirects disabled for known API endpoints](aspnet-core/10/cookie-authentication-api-endpoints.md) | Behavioral change |
23-
| [Deprecation of WithOpenApi extension method](aspnet-core/10/withopenapi-deprecated.md) | Source incompatible |
24-
| [Exception diagnostics suppressed when TryHandleAsync returns true](aspnet-core/10/exception-handler-diagnostics-suppressed.md) | Behavioral change |
25-
| [IActionContextAccessor and ActionContextAccessor are obsolete](aspnet-core/10/iactioncontextaccessor-obsolete.md) | Source incompatible/behavioral change |
26-
| [IncludeOpenAPIAnalyzers property and MVC API analyzers are deprecated](aspnet-core/10/openapi-analyzers-deprecated.md) | Source incompatible |
27-
| [IPNetwork and ForwardedHeadersOptions.KnownNetworks are obsolete](aspnet-core/10/ipnetwork-knownnetworks-obsolete.md) | Source incompatible |
28-
| [Microsoft.Extensions.ApiDescription.Client package deprecated](aspnet-core/10/apidescription-client-deprecated.md) | Source incompatible |
29-
| [Razor runtime compilation is obsolete](aspnet-core/10/razor-runtime-compilation-obsolete.md) | Source incompatible |
30-
| [WebHostBuilder, IWebHost, and WebHost are obsolete](aspnet-core/10/webhostbuilder-deprecated.md) | Source incompatible |
20+
See [Breaking changes in ASP.NET Core 10](/aspnet/core/breaking-changes/10/overview).
3121

3222
## Containers
3323

@@ -72,7 +62,7 @@ If you're migrating an app to .NET 10, the breaking changes listed here might af
7262

7363
## Entity Framework Core
7464

75-
[Breaking changes in EF Core 10](/ef/core/what-is-new/ef-core-10.0/breaking-changes)
65+
See [Breaking changes in EF Core 10](/ef/core/what-is-new/ef-core-10.0/breaking-changes).
7666

7767
## Extensions
7868

docs/core/compatibility/11.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ If you're migrating an app to .NET 11, the breaking changes listed here might af
1414
> [!NOTE]
1515
> This article is a work in progress. It's not a complete list of breaking changes in .NET 11.
1616
17+
<!--
18+
## ASP.NET Core
19+
20+
See [Breaking changes in ASP.NET Core 10](/aspnet/core/breaking-changes/10/overview).
21+
-->
22+
1723
## Core .NET libraries
1824

1925
| Title | Type of change |
@@ -29,6 +35,12 @@ If you're migrating an app to .NET 11, the breaking changes listed here might af
2935
|------------------------------------------------------------------|-------------------|
3036
| [DSA removed from macOS](cryptography/11/dsa-removed-macos.md) | Behavioral change |
3137

38+
<!--
39+
## Entity Framework Core
40+
41+
See [Breaking changes in EF Core 11](/ef/core/what-is-new/ef-core-11.0/breaking-changes).
42+
-->
43+
3244
## Globalization
3345

3446
| Title | Type of change |

docs/core/compatibility/5.0.md

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,44 +11,7 @@ If you're migrating an app to .NET 5, the breaking changes listed here might aff
1111

1212
## ASP.NET Core
1313

14-
| Title | Binary compatible | Source compatible |
15-
| - | - | - |
16-
| [ASP.NET Core apps deserialize quoted numbers](serialization/5.0/jsonserializer-allows-reading-numbers-as-strings.md) | ✔️ ||
17-
| [AzureAD.UI and AzureADB2C.UI APIs obsolete](aspnet-core/5.0/authentication-aad-packages-obsolete.md) | ✔️ ||
18-
| [BinaryFormatter serialization methods are obsolete](serialization/5.0/binaryformatter-serialization-obsolete.md) | ✔️ ||
19-
| [Resource in endpoint routing is HttpContext](aspnet-core/5.0/authorization-resource-in-endpoint-routing.md) | ✔️ ||
20-
| [Microsoft-prefixed Azure integration packages removed](aspnet-core/5.0/azure-integration-packages-removed.md) || ✔️ |
21-
| [Blazor: Route precedence logic changed in Blazor apps](aspnet-core/5.0/blazor-routing-logic-changed.md) | ✔️ ||
22-
| [Blazor: Updated browser support](aspnet-core/5.0/blazor-browser-support-updated.md) | ✔️ | ✔️ |
23-
| [Blazor: Insignificant whitespace trimmed by compiler](aspnet-core/5.0/blazor-components-trim-insignificant-whitespace.md) | ✔️ ||
24-
| [Blazor: JSObjectReference and JSInProcessObjectReference types are internal](aspnet-core/5.0/blazor-jsobjectreference-to-internal.md) | ✔️ ||
25-
| [Blazor: Target framework of NuGet packages changed](aspnet-core/5.0/blazor-packages-target-framework-changed.md) || ✔️ |
26-
| [Blazor: ProtectedBrowserStorage feature moved to shared framework](aspnet-core/5.0/blazor-protectedbrowserstorage-moved.md) | ✔️ ||
27-
| [Blazor: RenderTreeFrame readonly public fields are now properties](aspnet-core/5.0/blazor-rendertreeframe-fields-become-properties.md) || ✔️ |
28-
| [Blazor: Updated validation logic for static web assets](aspnet-core/5.0/blazor-static-web-assets-validation-logic-updated.md) || ✔️ |
29-
| [Cryptography APIs not supported on browser](cryptography/5.0/cryptography-apis-not-supported-on-blazor-webassembly.md) || ✔️ |
30-
| [Extensions: Package reference changes](aspnet-core/5.0/extensions-package-reference-changes.md) || ✔️ |
31-
| [Kestrel and IIS BadHttpRequestException types are obsolete](aspnet-core/5.0/http-badhttprequestexception-obsolete.md) | ✔️ ||
32-
| [HttpClient instances created by IHttpClientFactory log integer status codes](aspnet-core/5.0/http-httpclient-instances-log-integer-status-codes.md) | ✔️ ||
33-
| [HttpSys: Client certificate renegotiation disabled by default](aspnet-core/5.0/httpsys-client-certificate-renegotiation-disabled-by-default.md) | ✔️ ||
34-
| [IIS: UrlRewrite middleware query strings are preserved](aspnet-core/5.0/iis-urlrewrite-middleware-query-strings-are-preserved.md) | ✔️ ||
35-
| [Kestrel: Configuration changes detected by default](aspnet-core/5.0/kestrel-configuration-changes-at-run-time-detected-by-default.md) | ✔️ ||
36-
| [Kestrel: Default supported TLS protocol versions changed](aspnet-core/5.0/kestrel-default-supported-tls-protocol-versions-changed.md) | ✔️ ||
37-
| [Kestrel: HTTP/2 disabled over TLS on incompatible Windows versions](aspnet-core/5.0/kestrel-disables-http2-over-tls.md) | ✔️ | ✔️ |
38-
| [Kestrel: Libuv transport marked as obsolete](aspnet-core/5.0/kestrel-libuv-transport-obsolete.md) | ✔️ ||
39-
| [Obsolete properties on ConsoleLoggerOptions](core-libraries/5.0/obsolete-consoleloggeroptions-properties.md) | ✔️ ||
40-
| [ResourceManagerWithCultureStringLocalizer class and WithCulture interface member removed](aspnet-core/5.0/localization-members-removed.md) | ✔️ ||
41-
| [Pubternal APIs removed](aspnet-core/5.0/localization-pubternal-apis-removed.md) | ✔️ ||
42-
| [Obsolete constructor removed in request localization middleware](aspnet-core/5.0/localization-requestlocalizationmiddleware-constructor-removed.md) | ✔️ ||
43-
| [Middleware: Database error page marked as obsolete](aspnet-core/5.0/middleware-database-error-page-obsolete.md) | ✔️ ||
44-
| [Exception handler middleware throws original exception](aspnet-core/5.0/middleware-exception-handler-throws-original-exception.md) | ✔️ | ✔️ |
45-
| [ObjectModelValidator calls a new overload of Validate](aspnet-core/5.0/mvc-objectmodelvalidator-calls-new-overload.md) | ✔️ ||
46-
| [Cookie name encoding removed](aspnet-core/5.0/security-cookie-name-encoding-removed.md) | ✔️ ||
47-
| [IdentityModel NuGet package versions updated](aspnet-core/5.0/security-identitymodel-nuget-package-versions-updated.md) || ✔️ |
48-
| [SignalR: MessagePack Hub Protocol options type changed](aspnet-core/5.0/signalr-messagepack-hub-protocol-options-changed.md) | ✔️ ||
49-
| [SignalR: MessagePack Hub Protocol moved](aspnet-core/5.0/signalr-messagepack-package.md) | ✔️ ||
50-
| [UseSignalR and UseConnections methods removed](aspnet-core/5.0/signalr-usesignalr-useconnections-removed.md) | ✔️ ||
51-
| [CSV content type changed to standards-compliant](aspnet-core/5.0/static-files-csv-content-type-changed.md) | ✔️ ||
14+
See [Breaking changes in ASP.NET Core 5](/aspnet/core/breaking-changes/5/overview).
5215

5316
## Code analysis
5417

@@ -108,7 +71,7 @@ If you're migrating an app to .NET 5, the breaking changes listed here might aff
10871

10972
## Entity Framework Core
11073

111-
[Breaking changes in EF Core 5.0](/ef/core/what-is-new/ef-core-5.0/breaking-changes)
74+
See [Breaking changes in EF Core 5.0](/ef/core/what-is-new/ef-core-5.0/breaking-changes).
11275

11376
## Globalization
11477

docs/core/compatibility/6.0.md

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,7 @@ If you're migrating an app to .NET 6, the breaking changes listed here might aff
1313

1414
## ASP.NET Core
1515

16-
| Title | Binary compatible | Source compatible |
17-
| - | :-: | :-: |
18-
| [ActionResult\<T> sets StatusCode to 200](aspnet-core/6.0/actionresult-statuscode.md) | ✔️ ||
19-
| [AddDataAnnotationsValidation method made obsolete](aspnet-core/6.0/adddataannotationsvalidation-obsolete.md) | ✔️ ||
20-
| [Assemblies removed from Microsoft.AspNetCore.App shared framework](aspnet-core/6.0/assemblies-removed-from-shared-framework.md) || ✔️ |
21-
| [Blazor: Parameter name changed in RequestImageFileAsync method](aspnet-core/6.0/blazor-parameter-name-changed-in-method.md) | ✔️ ||
22-
| [Blazor: WebEventDescriptor.EventArgsType property replaced](aspnet-core/6.0/blazor-eventargstype-property-replaced.md) |||
23-
| [Blazor: Byte array interop](aspnet-core/6.0/byte-array-interop.md) | ✔️ ||
24-
| [Changed MessagePack library in @microsoft/signalr-protocol-msgpack](aspnet-core/6.0/messagepack-library-change.md) || ✔️ |
25-
| [ClientCertificate property doesn't trigger renegotiation for HttpSys](aspnet-core/6.0/clientcertificate-doesnt-trigger-renegotiation.md) | ✔️ ||
26-
| [EndpointName metadata not set automatically](aspnet-core/6.0/endpointname-metadata.md) | ✔️ ||
27-
| [Identity: Default Bootstrap version of UI changed](aspnet-core/6.0/identity-bootstrap4-to-5.md) |||
28-
| [Kestrel: Log message attributes changed](aspnet-core/6.0/kestrel-log-message-attributes-changed.md) | ✔️ ||
29-
| [Microsoft.AspNetCore.Http.Features split](aspnet-core/6.0/microsoft-aspnetcore-http-features-package-split.md) || ✔️ |
30-
| [Middleware: HTTPS Redirection Middleware throws exception on ambiguous HTTPS ports](aspnet-core/6.0/middleware-ambiguous-https-ports-exception.md) | ✔️ ||
31-
| [Middleware: New Use overload](aspnet-core/6.0/middleware-new-use-overload.md) | ✔️ ||
32-
| [Minimal API renames in RC 1](aspnet-core/6.0/rc1-minimal-api-renames.md) |||
33-
| [Minimal API renames in RC 2](aspnet-core/6.0/rc2-minimal-api-renames.md) |||
34-
| [MVC doesn't buffer IAsyncEnumerable types when using System.Text.Json](aspnet-core/6.0/iasyncenumerable-not-buffered-by-mvc.md) | ✔️ ||
35-
| [Nullable reference type annotations changed](aspnet-core/6.0/nullable-reference-type-annotations-changed.md) | ✔️ ||
36-
| [Obsoleted and removed APIs](aspnet-core/6.0/obsolete-removed-apis.md) | ✔️ ||
37-
| [PreserveCompilationContext not configured by default](aspnet-core/6.0/preservecompilationcontext-not-set-by-default.md) || ✔️ |
38-
| [Razor: Compiler no longer produces a Views assembly](aspnet-core/6.0/razor-compiler-doesnt-produce-views-assembly.md) | ✔️ ||
39-
| [Razor: Logging ID changes](aspnet-core/6.0/razor-pages-logging-ids.md) || ✔️ |
40-
| [Razor: RazorEngine APIs marked obsolete](aspnet-core/6.0/razor-engine-apis-obsolete.md) | ✔️ ||
41-
| [SignalR: Java Client updated to RxJava3](aspnet-core/6.0/signalr-java-client-updated.md) || ✔️ |
42-
| [TryParse and BindAsync methods are validated](aspnet-core/6.0/tryparse-bindasync-validation.md) |||
16+
See [Breaking changes in ASP.NET Core 6](/aspnet/core/breaking-changes/6/overview).
4317

4418
## Containers
4519

@@ -92,7 +66,7 @@ For information on other breaking changes for containers in .NET 6, see [.NET 6
9266

9367
## Entity Framework Core
9468

95-
[Breaking changes in EF Core 6](/ef/core/what-is-new/ef-core-6.0/breaking-changes)
69+
See [Breaking changes in EF Core 6](/ef/core/what-is-new/ef-core-6.0/breaking-changes).
9670

9771
## Extensions
9872

docs/core/compatibility/7.0.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,7 @@ If you're migrating an app to .NET 7, the breaking changes listed here might aff
1313

1414
## ASP.NET Core
1515

16-
| Title | Type of change |
17-
|-----------------------------------------------------------------------------------------------------------------------------------------|:--------------------------:|
18-
| [API controller actions try to infer parameters from DI](aspnet-core/7.0/api-controller-action-parameters-di.md) | Source incompatible |
19-
| [ASPNET-prefixed environment variable precedence](aspnet-core/7.0/environment-variable-precedence.md) | Behavioral change |
20-
| [AuthenticateAsync for remote auth providers](aspnet-core/7.0/authenticateasync-anonymous-request.md) | Source incompatible |
21-
| [Authentication in WebAssembly apps](aspnet-core/7.0/wasm-app-authentication.md) | Binary incompatible |
22-
| [Default authentication scheme](aspnet-core/7.0/default-authentication-scheme.md) | Binary incompatible |
23-
| [Event IDs for some Microsoft.AspNetCore.Mvc.Core log messages changed](aspnet-core/7.0/microsoft-aspnetcore-mvc-core-log-event-ids.md) | Binary incompatible |
24-
| [Fallback file endpoints](aspnet-core/7.0/fallback-file-endpoints.md) | Binary incompatible |
25-
| [IHubClients and IHubCallerClients hide members](aspnet-core/7.0/ihubclients-ihubcallerclients.md) | Source incompatible |
26-
| [Kestrel: Default HTTPS binding removed](aspnet-core/7.0/https-binding-kestrel.md) | Binary incompatible |
27-
| [Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv and libuv.dll removed](aspnet-core/7.0/libuv-transport-dll-removed.md) | Binary/source incompatible |
28-
| [Microsoft.Data.SqlClient updated to 4.0.1](aspnet-core/7.0/microsoft-data-sqlclient-updated-to-4-0-1.md) | Source incompatible |
29-
| [Middleware no longer defers to endpoint with null request delegate](aspnet-core/7.0/middleware-null-requestdelegate.md) | Binary incompatible |
30-
| [MVC's detection of an empty body in model binding changed](aspnet-core/7.0/mvc-empty-body-model-binding.md) | Binary incompatible |
31-
| [Output caching API changes](aspnet-core/7.0/output-caching-renames.md) | Binary/source incompatible |
32-
| [SignalR Hub methods try to resolve parameters from DI](aspnet-core/7.0/signalr-hub-method-parameters-di.md) | Source incompatible |
16+
See [Breaking changes in ASP.NET Core 7](/aspnet/core/breaking-changes/7/overview).
3317

3418
## Core .NET libraries
3519

@@ -83,7 +67,7 @@ If you're migrating an app to .NET 7, the breaking changes listed here might aff
8367

8468
## Entity Framework Core
8569

86-
[Breaking changes in EF Core 7](/ef/core/what-is-new/ef-core-7.0/breaking-changes)
70+
See [Breaking changes in EF Core 7](/ef/core/what-is-new/ef-core-7.0/breaking-changes).
8771

8872
## Extensions
8973

docs/core/compatibility/8.0.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,7 @@ If you're migrating an app to .NET 8, the breaking changes listed here might aff
1313

1414
## ASP.NET Core
1515

16-
| Title | Type of change |
17-
| ---------------------------------------------------------------------------------------------------- | ------------------- |
18-
| [ConcurrencyLimiterMiddleware is obsolete](aspnet-core/8.0/concurrencylimitermiddleware-obsolete.md) | Source incompatible |
19-
| [Custom converters for serialization removed](aspnet-core/8.0/problemdetails-custom-converters.md) | Behavioral change |
20-
| [Forwarded Headers Middleware ignores X-Forwarded-* headers from unknown proxies](aspnet-core/8.0/forwarded-headers-unknown-proxies.md) | Behavioral change |
21-
| [HTTP logging middleware requires AddHttpLogging()](aspnet-core/8.0/httplogging-addhttplogging-requirement.md) | Behavioral change |
22-
| [ISystemClock is obsolete](aspnet-core/8.0/isystemclock-obsolete.md) | Source incompatible |
23-
| [Minimal APIs: IFormFile parameters require anti-forgery checks](aspnet-core/8.0/antiforgery-checks.md) | Behavioral change |
24-
| [Rate-limiting middleware requires AddRateLimiter](aspnet-core/8.0/addratelimiter-requirement.md) | Behavioral change |
25-
| [Security token events return a JsonWebToken](aspnet-core/8.0/securitytoken-events.md) | Behavioral change |
26-
| [TrimMode defaults to full for Web SDK projects](aspnet-core/8.0/trimmode-full.md) | Source incompatible |
16+
See [Breaking changes in ASP.NET Core 8](/aspnet/core/breaking-changes/8/overview).
2717

2818
## Containers
2919

@@ -82,7 +72,7 @@ If you're migrating an app to .NET 8, the breaking changes listed here might aff
8272

8373
## Entity Framework Core
8474

85-
[Breaking changes in EF Core 8](/ef/core/what-is-new/ef-core-8.0/breaking-changes)
75+
See [Breaking changes in EF Core 8](/ef/core/what-is-new/ef-core-8.0/breaking-changes).
8676

8777
## Extensions
8878

docs/core/compatibility/9.0.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,7 @@ If you're migrating an app to .NET 9, the breaking changes listed here might aff
1313

1414
## ASP.NET Core
1515

16-
| Title | Type of change |
17-
|------------------------------------------------------------------------------------------------|-------------------|
18-
| [DefaultKeyResolution.ShouldGenerateNewKey altered meaning](aspnet-core/9.0/key-resolution.md) | Behavioral change |
19-
| [Dev cert export no longer creates folder](aspnet-core/9.0/certificate-export.md) | Behavioral change |
20-
| [Forwarded Headers Middleware ignores X-Forwarded-* headers from unknown proxies](aspnet-core/8.0/forwarded-headers-unknown-proxies.md) | Behavioral change |
21-
| [HostBuilder enables ValidateOnBuild/ValidateScopes in development environment](aspnet-core/9.0/hostbuilder-validation.md) | Behavioral change |
22-
| [Legacy Mono and Emscripten APIs not exported to global namespace](aspnet-core/9.0/legacy-apis.md) | Source incompatible |
23-
| [Middleware types with multiple constructors](aspnet-core/9.0/middleware-constructors.md) | Behavioral change |
16+
See [Breaking changes in ASP.NET Core 9](/aspnet/core/breaking-changes/9/overview).
2417

2518
## Containers
2619

@@ -72,7 +65,7 @@ If you're migrating an app to .NET 9, the breaking changes listed here might aff
7265

7366
## Entity Framework Core
7467

75-
[Breaking changes in EF Core 9](/ef/core/what-is-new/ef-core-9.0/breaking-changes)
68+
See [Breaking changes in EF Core 9](/ef/core/what-is-new/ef-core-9.0/breaking-changes).
7669

7770
## Interop
7871

0 commit comments

Comments
 (0)