Add .NET 11 breaking change article: MVC compatibility options removed - #37426
Open
Youssef1313 with Copilot wants to merge 2 commits into
Open
Add .NET 11 breaking change article: MVC compatibility options removed#37426Youssef1313 with Copilot wants to merge 2 commits into
Youssef1313 with Copilot wants to merge 2 commits into
Conversation
3 tasks
Co-authored-by: Youssef1313 <31348972+Youssef1313@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove obsolete Mvc compatibility options
Add .NET 11 breaking change article: MVC compatibility options removed
Aug 5, 2026
Youssef1313
marked this pull request as ready for review
August 5, 2026 14:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
CompatibilityVersionenum and related MVC compatibility APIs — obsolete since ASP.NET Core 6 and no-ops since 3.0 — were removed in dotnet/aspnetcore#67077. This documents the removal for .NET 11 Preview 7.New article
aspnetcore/breaking-changes/11/mvc-compatibility-options-removed.md— covers version introduced, previous/new behavior, breaking change type (source + binary incompatible), reason, recommended action, and the affected APIs (SetCompatibilityVersionon both builder extension types,ConfigureCompatibilityOptions<TOptions>,MvcCompatibilityOptions,CompatibilityVersion).Navigation
aspnetcore/toc.yml— TOC entry under .NET 11 breaking changes.aspnetcore/breaking-changes/11/overview.md— table row, alphabetically placed, typed "Binary/source incompatible".Related articles updated
aspnetcore/mvc/compatibility-version.md— notes the .NET 11 removal in the 3.0+ moniker section and links to the new article.aspnetcore/mvc/overview.md— rewrites the "Compatibility version" section to past tense and links to the new article.Recommended action documented is simply dropping the call:
Internal previews