#concurrency

Posts tagged with this topic.

Dataverse: Implement Pre-lock in a plug-in transaction

Apr 6, 2024

Lately, my mind has traveled a lot on designing a plugin that can handle concurrency issues. Even though the framework itself has UpdateRequest and we can pass the RowVersion, I found the implementation does not always fit with some of the scenarios especially if you want to...

Implement a Generic Concurrency Action in Dataverse

Sep 16, 2022

Today, we will implement a generic concurrency solution that I think will fit as many scenarios as we can. With the help of Azure SQL Server + Dataverse Custom API, we can implement a simple architecture solution to handle the concurrency (only allowing the first operation to be...

Enforce ConcurrencyBehavior on DataverseServiceClient

Jun 25, 2022

Celebrating the GA of DataverseServiceClient, let's talk about how to implement concurrency (if there are two users updating the same data at the same time, the system must ensure only the first update success and make fail the other) using an out-of-the-box feature. From...