vc-platform

Virto Commerce B2B Innovation Platform

OTHER License

Stars
1.2K

Bot releases are hidden (Show)

vc-platform - 3.419.0

Published by vc-ci about 1 year ago

vc-platform - 3.418.0

Published by vc-ci about 1 year ago

vc-platform - 3.417.0

Published by vc-ci about 1 year ago

vc-platform - 3.416.0

Published by vc-ci about 1 year ago

vc-platform - 3.415.0

Published by vc-ci about 1 year ago

🎯 Development

vc-platform - 3.414.0

Published by vc-ci about 1 year ago

vc-platform - 3.413.0

Published by vc-ci about 1 year ago

vc-platform - 3.412.0

Published by vc-ci about 1 year ago

vc-platform - 3.411.0

Published by vc-ci about 1 year ago

vc-platform - 3.410.0

Published by vc-ci about 1 year ago

vc-platform - 3.409.0

Published by vc-ci about 1 year ago

vc-platform - 3.408.0

Published by vc-ci about 1 year ago

vc-platform - 3.407.0

Published by vc-ci about 1 year ago

vc-platform - 3.406.0

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 set
  • NoLockService - mock service that does nothing, will be registered in DI if RedisConnectionString is not set

Using

        public async Task UpdateOrder(string correlationId, UpdateOrderRequest request)
        {
            var resourceKey = $"{OrderLockPrefix}{correlationId}";
            await _distributedLockService.ExecuteAsync(resourceKey, () => UpdateOrderInternalAsync(correlationId, request),
                _orderLockExpireTime, _orderLockWaitTime, _orderLockRetryTime);
        }
vc-platform - 3.405.0

Published by vc-ci about 1 year ago

vc-platform - 3.404.0

Published by vc-ci about 1 year ago

vc-platform - 3.403.0

Published by vc-ci about 1 year ago

vc-platform - 3.402.0

Published by vc-ci about 1 year ago

vc-platform - 3.401.0

Published by vc-ci over 1 year ago

vc-platform - 3.400.0

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

  • Update other VC modules to version 3.400+
  • Update VC nuget packages to 3.400+
  • Resolve conflicts in custom modules
  • Ensure compatibility and take advantage of these improvements.

Find more detail on Virto Commerce Community

  1. 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.

  2. Refactored CrudService: The VirtoCommerce.Platform.Data.GenericCrud.CrudService has undergone a refactoring process, making it more efficient and easier to work with.

  3. Refactored SearchService: Similarly, the VirtoCommerce.Platform.Data.GenericCrud.SearchService has been refactored, resulting in improved search functionality.

  4. 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>  
  1. Introducing GetNoCloneAsync: To optimize performance and retrieval of raw or read-only objects, we have introduced the GetNoCloneAsync method. This addition allows for faster access to specific data when cloning is not necessary.
Badges
Extracted from project README
Share on Facebook Tweet Latest release Total downloads License CI status Quality gate Reliability rating Security rating Sqale rating Lines of code Documentation Commnunity Contributors Deploy to Azure