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 61 to 70 of 5638 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 05:21