InvalidOperationException: Endpoint / (/) contains anti-forgery metadata, but a middleware was not found that supports anti-forgery. Configure your application startup by adding app.UseAntiforgery() in the application startup code.
Answers
ykl
318
Points
16
Posts
|
It was resolved by adding following middleware in startup.cs
Posted On:
03-Jan-2024 09:51
Thanks for sharing solution. - Brian 03-Jan-2024 09:52
|
Rashmi
1068
Points
19
Posts
|
great!
Posted On:
17-Apr-2024 03:38
|
mongo
170
Points
8
Posts
|
Having similar issue, resolved by adding following:
Posted On:
18-Apr-2024 23:25
|
Blog
Active User (0)
No Active User!