-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Problem details #29152
Copy link
Copy link
Closed
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issuedoc-ideaseQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.
Metadata
Metadata
Assignees
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issuedoc-ideaseQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Add to Problem details
See this comment
@zwoolli If I am not mistaken
AddRazorPagesprobably callsAddMVCCore(need to double check) that register a default writer for API Controllers. I believe your case the problem is not theDefaultProblemDetailsWriterbut theDefaultApiProblemDetailsWriter. In both cases you are right andAddProblemDetailsmust be called before.@Rick-Anderson maybe we could add something about it in the docs if not there yet.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
Associated WorkItem - 88397