I have this simple controller:
[HttpGet, ActionName("analysis")]
public async Task<StatusResultModel> Analysis(Guid api_key)
{Thread.Sleep(10000);}
What I need to achieve, is to limit the access per user base, so that each user will be able to make only one HTTP request to this controller.
So if someone makes two parallel requests, the first request stars processing, but the second request will block until the first one is not done.