Move and overhaul the RP authz conventions article#36919
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Moves the Razor Pages authorization conventions content into the dedicated Razor Pages security/authorization section, updates inbound references across the docset, and adds a redirect for the old article location.
Changes:
- Adds a new article at
razor-pages/security/authorization/conventionsand removes the oldsecurity/authorization/razor-pages-authorizationarticle. - Updates TOC entries and cross-references throughout related Razor Pages, security/authorization, Blazor security, and testing docs.
- Adds an OpenPublishing redirect from the deleted article path to the new URL.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| aspnetcore/toc.yml | Adds the new Razor Pages authorization conventions node and removes the old entry from Security > Authorization. |
| aspnetcore/test/integration-tests.md | Updates the in-article link target to the new conventions article UID/anchor. |
| aspnetcore/test/integration-tests/includes/integration-tests5.md | Updates the link target to the new conventions article UID/anchor. |
| aspnetcore/test/integration-tests/includes/integration-tests7.md | Updates the link target to the new conventions article UID/anchor. |
| aspnetcore/test/integration-tests/includes/integration-tests8.md | Updates the link target to the new conventions article UID/anchor. |
| aspnetcore/test/integration-tests/includes/integration-tests9.md | Updates the link target to the new conventions article UID/anchor. |
| aspnetcore/security/authorization/policies.md | Updates xref to point to the new Razor Pages conventions article. |
| aspnetcore/security/authorization/policies/includes/policies5.md | Updates xref to point to the new Razor Pages conventions article. |
| aspnetcore/razor-pages/security/authorization/conventions.md | New/overhauled article content in the new Razor Pages security/authorization location. |
| aspnetcore/razor-pages/razor-pages-conventions.md | Updates “Additional resources” xrefs to the new conventions article. |
| aspnetcore/razor-pages/index.md | Updates references/xrefs to the new conventions article. |
| aspnetcore/razor-pages/index/includes/index35.md | Updates references/xrefs to the new conventions article. |
| aspnetcore/blazor/security/index.md | Updates xref to the new conventions article (for Blazor + Razor Pages integration note). |
| aspnetcore/security/authorization/razor-pages-authorization.md | Deletes the old article at the previous location/UID. |
| aspnetcore/security/authorization/razor-pages-authorization/samples/2.x/AuthorizationSample/README.md | Updates the Learn link to the new article URL. |
| aspnetcore/security/authorization/razor-pages-authorization/samples/3.x/AuthorizationSample/README.md | Updates the Learn link to the new article URL. |
| .openpublishing.redirection.json | Adds a redirect from the deleted article path to the new conventions URL. |
wadepickett
reviewed
Mar 25, 2026
wadepickett
reviewed
Mar 25, 2026
wadepickett
approved these changes
Mar 25, 2026
Contributor
wadepickett
left a comment
There was a problem hiding this comment.
Approved. Looks great! I found two very minor items for you to consider.
Co-authored-by: Wade Pickett <wpickett@microsoft.com>
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.
Fixes #36916
Wade .....
razor-pages/security/authorizationnode. Surfacing the article there with an additional resource link at the bottom of the Security > Authorization > Introduction article.NOTE TO SELF 🦖
💀 the main doc set repo sample apps after review/approval. I'm not going to do it until then because it hoses the diff and makes the PR much harder to review.
Internal previews