But should it not be updating the cache when it updates the values in the database?
We can update the cache when you change some things via code, but we can't know anything if you change it in the database.
hi
https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Migrations
hi
You can clear the redis and try again.
hi
Did you migration database by using the DbMigrator
project?
Personally I believe net 7 is more secure.
https://github.com/dotnet/announcements/issues?q=is%3Aopen+is%3Aissue+label%3ASecurity
hi
What result of your application /Abp/ServiceProxyScript
endpoint?
hi
In fact, there were similar problems before, The sqlite does not support nested transactions.
This is mainly the limitation of sqlite, which does not support transactions in transactions.
hi
Please override the DownloadAsync
method of FileDescriptorAppService
.
[AllowAnonymous]
public virtual async Task<IRemoteStreamContent> DownloadAsync(Guid id, string token)
{
var downloadToken = await DownloadTokenCache.GetAsync(token);
if (downloadToken == null || downloadToken.FileDescriptorId != id)
{
throw new AbpAuthorizationException("Invalid download token: " + token);
}
FileDescriptor fileDescriptor;
using (DataFilter.Disable<IMultiTenant>())
{
fileDescriptor = await FileDescriptorRepository.GetAsync(id);
}
var stream = await BlobContainer.GetAsync(id.ToString());
return new RemoteStreamContent(stream, fileDescriptor?.Name);
}
hi
I will share a solution asap.