How i can resolve this problem with assigning roles
AccountController
Azure Cosmos DB takes multiple attempts or inconsistent while updating the record
I am trying to update the cosmos db record using PatchItemAsync method. The caveat is the HTTP method is PUT and we need to update a couple of properties of the record and not the whole record so we were using PatchItemAsync. We can’t use PATCH method because one of our older implementation is also dependent on that controller. When we are updating the record sometimes it takes 20-30 seconds to update and sometimes it takes more than one call from postman to update those properties. Can you guys help me with this issue ?
ASP.net web api .net core 6
I have web api project with windows authentication. It all works good and I know who the user is but then I would like to add custom logic to check if user is allowed to access given controller.