Virto Commerce B2B Innovation Platform
OTHER License
Bot releases are visible (Hide)
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by vc-ci about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by vc-ci about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by vc-ci about 1 year ago
Published by vc-ci about 1 year ago
Published by vc-ci about 1 year ago
Added IDistributedLockService
interface to ensuring only one process is using a particular resource at any given time. The service has two implementations:
DistributedLockService
- lock mechanism implemented with RedLock, will be registered in DI if RedisConnectionString
is setNoLockService
- mock service that does nothing, will be registered in DI if RedisConnectionString
is not set public async Task UpdateOrder(string correlationId, UpdateOrderRequest request)
{
var resourceKey = $"{OrderLockPrefix}{correlationId}";
await _distributedLockService.ExecuteAsync(resourceKey, () => UpdateOrderInternalAsync(correlationId, request),
_orderLockExpireTime, _orderLockWaitTime, _orderLockRetryTime);
}
Published by vc-ci about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by vc-ci about 1 year ago
Published by vc-ci about 1 year ago
Published by vc-ci about 1 year ago
Published by vc-ci over 1 year ago
Published by vc-ci over 1 year ago
We are excited to announce a significant improvement in this release with the refactoring and simplification of the CRUD (Create, Read, Update, Delete) Services. These changes bring enhanced performance and a more streamlined experience for platform users.
With the introduction of these changes, if you are installing version 3.400+ of the platform, you will need to
Find more detail on Virto Commerce Community
Crud Services were refactored and simplified. To optimize the codebase and improve maintainability, we have removed obsolete methods from the CRUD Services. Use IList Interface (System.Collections.Generic) for input and output parameters.
Refactored CrudService: The VirtoCommerce.Platform.Data.GenericCrud.CrudService has undergone a refactoring process, making it more efficient and easier to work with.
Refactored SearchService: Similarly, the VirtoCommerce.Platform.Data.GenericCrud.SearchService has been refactored, resulting in improved search functionality.
Simplified Interfaces: To enhance usability, the IXXXService interfaces have been restructured to inherit from ICrudService and ISearchService. This simplification streamlines the usage of these services. For instance:
public interface ICustomerOrderService : ICrudService<CustomerOrder>
Published by vc-ci over 1 year ago
Published by vc-ci over 1 year ago