-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.dotnet-fundamentals/svcin-prThis issue will be closed (fixed) by an active pull request.This issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.
Description
Type of issue
Other (describe below)
Description
This question is just one example where I am confused by the compatibility indictors for the listed .NET breaking changes. If I understand the change correctly, nothing changed with the ObjectResult.StatusCode
API itself, so everything will compile the same, but the run-time behavior in this scenario (returning a T
in a controller action that declares the return type ActionResult
) changed. Doesn't that mean this change is binary incompatible and source compatible according to the documentation's definition?
- Binary compatible - Existing binaries will load and execute successfully without recompilation, and the run-time behavior won't change.
- Source compatible - Source code will compile successfully without changes when targeting the new runtime or using the new SDK or component.
Page URL
https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/6.0/actionresult-statuscode
Content source URL
Document Version Independent Id
64b65b92-b86a-1741-2a38-c1119b7d2ed1
Article author
Metadata
- ID: 204588be-f452-4db7-db93-ed4ea5af6cd0
- Service: dotnet-fundamentals
Metadata
Metadata
Assignees
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.dotnet-fundamentals/svcin-prThis issue will be closed (fixed) by an active pull request.This issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.