Activities of "liangshiwei"

Hi,

Basically you can ignore it, It is designed for audit purposes

I have tried to solve this and followed steps but web project is not starting

could you share the project with me? shiwei.liang@volosoft.com

HI,

you can try this

[Authorize]
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(ITenantAppService))]
public class MyTenantAppService : TenantAppService
{
    ....
    
    [AllowAnonymous]
    public override Task<SaasTenantDto> CreateAsync(SaasTenantCreateDto input)
    {
        //Manually check permissions here
        ...
    }
}

Hi,

All projects should use the same Redis config.(connection string, key prefix)

Configure<AbpDistributedCacheOptions>(options =>
{
    options.KeyPrefix = ...
});

Hi,

I think it's all. We have not changed Identity server in these versions.

you can give it a try, if there any problem you get, you can write it here

Hi,

you can try

public class CustomTenantDistributedHandler :
    IDistributedEventHandler<TenantCreatedEto>
{

    public async Task HandleEventAsync(TenantCreatedEto eventData)
    {
        ....
    }

}

You can try:

... IRepository<Product, Guid> _productRepository;

public async Task<List<Product>> GetMyProductListAsync()
{
    using (_dataFilter.Enable<IMustHaveCreator>())
    {
        return await _productRepository.GetListAsync(x => x.CreatorId == CurrentUser.Id);            
    }
}

Hi,

could you please share a minimum reproducible project with me? i will check it thanks.

shiwei.liang@volosoft.com

Hi,

i guess this is related to Redis configuration.

are they use the same redis server and same cache key prefix?

I am using version 8.2.2... maybe it's already fixed in 8.3?

maybe you can try

Showing 391 to 400 of 5968 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11