You can exit the suite and run abp install-libs command in your project folder.
hi
abp login YourEmailAddress -p YourPassword -o BCTHK
hi
Can you test this?
https://support.abp.io/QA/Questions/4249#answer-33f8b9ca-b52b-7ceb-d9e9-3a086a8d65c0
hi
I didn't reproduce the problem, can you share the full steps and a simple project?
liming.ma@volosoft.com
ok, I will check it.
hi
Can you try login in with device flow?
abp login --device
https://github.com/abpframework/abp/blob/1b67ad4c9adadf4b4dbfcacf075905be1ae59548/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.AuthServer/MyProjectNameAuthServerModule.cs#L140-L145
See https://github.com/abpframework/abp/blob/rel-7.0/framework/src/Volo.Abp.BackgroundJobs/Volo/Abp/BackgroundJobs/BackgroundJobWorker.cs#L42
public class MyBackgroundJob : AsyncBackgroundJob, ITransientDependency
{
private readonly IMyDomainService _myDomainService;
private readonly IAbpDistributedLock _distributedLock;
public MyBackgroundJob(IMyDomainService myDomainService,
IAbpDistributedLock distributedLock)
{
_myDomainService = myDomainService;
_distributedLock = distributedLock;
}
public override async Task ExecuteAsync(MyRequest args)
{
await using (var handle = await _distributedLock.TryAcquireAsync("DistributedLockName"))
{
if (handle != null)
{
await _myDomainService.MyMethod(args);
}
}
}
}
Documentation suggests using IDistributedLockProvider instead of IAbpDistributedLock
I don't think so.
https://docs.abp.io/en/abp/latest/Distributed-Locking#using-the-iabpdistributedlock-service
Btw, is IAbpDistributedLock really distributed or in-process? Because we are in a real distributed environment and need a real distributed lock.
It will be really distributed when you use the AbpDistributedLockingModule and context.Services.AddSingleton<IDistributedLockProvider>
hi
Is this menu page MVC or Angular?