Browse Source

Merge pull request #11943 from abpframework/auto-merge/rel-5-2/929

Merge branch dev with rel-5.2
pull/11946/head
maliming 4 years ago
committed by GitHub
parent
commit
cb33fccc7a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      docs/en/Distributed-Locking.md
  2. 3
      npm/packs/jquery-form/abp.resourcemapping.js
  3. 22
      npm/packs/jquery-form/src/jquery.form.min.js

10
docs/en/Distributed-Locking.md

@ -1,13 +1,13 @@
# Distributed Locking
Distributed locking is technique to manage many applications that trying to access the same resource.
Distributed locking is a technique to manage many applications that try to access the same resource.
The main purpose is to allow only one of many applications to access the same resource at the same time.
Otherwise accessing the same object from various applications may corrupt the value of resources.
Otherwise, accessing the same object from various applications may corrupt the value of resources.
> ABP's current distributed locking implementation is based on the [DistributedLock](https://github.com/madelson/DistributedLock) library.
## Installation
You can open a command-line terminal and type the following command to install the [Volo.Abp.DistributedLocking](https://www.nuget.org/packages/Volo.Abp.DistributedLocking) package it into your project:
You can open a command-line terminal and type the following command to install the [Volo.Abp.DistributedLocking](https://www.nuget.org/packages/Volo.Abp.DistributedLocking) package into your project:
````bash
abp add-package Volo.Abp.DistributedLocking
@ -61,7 +61,7 @@ There are two ways to use the distributed locking API: ABP's `IAbpDistributedLoc
`IAbpDistributedLock` is a simple service provided by the ABP framework for simple usage of distributed locking.
**Example: Using `IAbpDistributedLock.TryAcquireAsync` method**
**Example: Using the `IAbpDistributedLock.TryAcquireAsync` method**
````csharp
using Volo.Abp.DistributedLocking;
@ -101,4 +101,4 @@ namespace AbpDemo
### Using DistributedLock library's API
ABP's `IAbpDistributedLock` service is very limited and mainly designed to be internally used by the ABP Framework. For your own applications, you can use DistributedLock library's own API. See its [own documentation](https://github.com/madelson/DistributedLock) for details.
ABP's `IAbpDistributedLock` service is very limited and mainly designed to be internally used by the ABP Framework. For your own applications, you can use the DistributedLock library's own API. See its [own documentation](https://github.com/madelson/DistributedLock) for details.

3
npm/packs/jquery-form/abp.resourcemapping.js

@ -1,6 +1,5 @@
module.exports = {
mappings: {
"@node_modules/jquery-form/dist/jquery.form.min.js": "@libs/jquery-form/",
"@node_modules/jquery-form/dist/jquery.form.min.js.map": "@libs/jquery-form/"
"@node_modules/@abp/jquery-form/src/jquery.form.min.js": "@libs/jquery-form/"
}
}

22
npm/packs/jquery-form/src/jquery.form.min.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save