-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Open
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcsecurity/subsvc
Description
Description
In this section:
Antiforgery middleware is added...
is confusing. Me and my coworker thought that calling AddRazorComponents added the middleware as well and we were trying to troubleshoot the app for a long time, even after adding UseAntiforgery manually were confused. Experienced programmers might understand that the middleware is the developer's responsibility but people new to ASP.NET might find this information confusing.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/anti-request-forgery?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/anti-request-forgery.md
Document ID
bffca13c-223f-c61f-9cb2-9da8811eecfa
Platform Id
a2883bdf-f8ff-d4f0-ef3e-413f88c39bd2
Article author
Metadata
- ID: 47b14f57-82ac-a2e2-cbc7-22a81a60f4ac
- PlatformId: a2883bdf-f8ff-d4f0-ef3e-413f88c39bd2
- Service: aspnet-core
- Sub-service: security
Metadata
Metadata
Assignees
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcsecurity/subsvc