Replace "marker service" with "marker interface" in IAuthorizationRequirement documentation#36775
Merged
Merged
Conversation
…uirement documentation Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Replace 'marker service' with 'marker interface' in IAuthorizationRequirement
Replace "marker service" with "marker interface" in IAuthorizationRequirement documentation
Feb 17, 2026
tdykstra
approved these changes
Feb 17, 2026
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 #36772
Corrects terminology for
IAuthorizationRequirementfrom "marker service" to "marker interface" in authorization policies documentation.Changes
ai-usageand refreshedms.dateContext
IAuthorizationRequirementis an interface with no methods, used for type identification. Both documents already used "marker interface" correctly in later sections, creating an inconsistency that this PR resolves.Before:
After:
Original prompt
This section details on the original issue you should resolve
<issue_title>Replace "marker service" with "marker interface" in the definition of IAuthorizationRequirement</issue_title>
<issue_description>### Description
In the following statement (emphasis mine) the term
marker serviceshould be replaced withmarker interfacefor the sake of technical accuracy and to avoid confusion.Incidentally further below in the same article the same
IAuthorizationRequirementinterface is already correctly defined as amarker interface.Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/policies?view=aspnetcore-8.0&WT.mc_id=DT-MVP-5004452
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/policies.md
Document ID
7089b376-949f-c1c6-c37a-5d8cc7ecf104
Platform Id
2ff2ae4f-f6b8-67e8-2d6f-147b165b6706
Article author
@wadepickett
Metadata
Related Issues</issue_description>
<agent_instructions>In additon to reading the description, read all comments in the discussion and give special attention to the triage report suggestions in the discussion.</agent_instructions>
Comments on the Issue (you are @copilot in this section)
@wadepickett @eugenehavryliuk, thanks very much for taking the time to point out this issue. Much appreciated! @wadepickett ## 🤖 AI Triage SummaryThis preliminary assessment report was run by: @wadepickett
Date: 2026-02-17
Issue: 36772
Model: GitHub Copilot
Issue Analysis: Replace "marker service" with "marker interface" in IAuthorizationRequirement description
✅ Issue Validation
Status: Valid and actionable
📋 Issue Summary
The documentation for ASP.NET Core policy-based authorization incorrectly refers to
IAuthorizationRequirementas a "marker service" when the technically accurate term is "marker interface." This is an interface (not a service), and the well-established .NET term for an empty interface used for type identification is "marker interface." The same article already correctly uses "marker interface" in a later section, creating an internal inconsistency. This terminology error appears in two files: the main article (policies.md) and the older-version include file (policies5.md).📁 Potentially Affected Files
aspnetcore/security/authorization/policies.mdaspnetcore/security/authorization/policies/includes/policies5.md📝 Preliminary Change Assessment
Potential Documentation Update #1
File:
aspnetcore/security/authorization/policies.mdLocation: Line 31 (within the "IAuthorizationService" section)
Type: Replacement (single word)
Current content (line 31):