C#C
C#3y ago
Jester

✅ Handle one API request at a time

So i have an api controller and i need to make sure i handle only one request at a time for a specific endpoint. the reason is that sometimes the client sends a request twice and i need to make sure i only handle each one once. how can i handle one at a time so i dont run into concurrency issues?
Was this page helpful?