Generate and validate CSRF TOKEN in .net c# having frontend in angular and not in razor

Fernando 0 Reputation points
2023-12-23T01:53:54.53+00:00

how can i work with csrf tokens if i have my frontend in angular and not razor, i have this question because i have been trying to generate and validate tokens but i usually have many problems with it, i am someone who is just starting and it would be very helpful if someone could explain me how to implement them correctly, on the other hand i see that there is not much information on youtube updated talking about it, i know there is documentation and i have been guided with it but i still have problems.

Developer technologies ASP.NET ASP.NET Core
Developer technologies .NET Other
Developer technologies C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.