Activities of "maliming"

hi

using System.Threading.Tasks;
using Amazon.S3;
using Volo.Abp.Caching;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Security.Encryption;

namespace Volo.Abp.BlobStoring.Aws;

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IAmazonS3ClientFactory), typeof(DefaultAmazonS3ClientFactory))]
public class MyAmazonS3ClientFactory : DefaultAmazonS3ClientFactory
{
    public MyAmazonS3ClientFactory(
        IDistributedCache<AwsTemporaryCredentialsCacheItem> cache,
        IStringEncryptionService stringEncryptionService)
        : base(cache, stringEncryptionService)
    {
    }

    public override Task<AmazonS3Client> GetAmazonS3Client(AwsBlobProviderConfiguration configuration)
    {
        // TODO: Add your custom logic here
        return base.GetAmazonS3Client(configuration);
    }
}

hi

Please inject ICurrentUser to check if there is Id value.

hi

Abp uses an endpoint to change the current language.

https://localhost:44348/Abp/Languages/Switch?culture=vi&uiCulture=vi&returnUrl=%2F

Thanks rohit.jadhav

: )

hi

You can inject ILanguageProvider service to get all languages.

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILanguageProvider.cs

hi

You can remove the PermissionDataSeedContributor from AbpDataSeedOptions

public override void ConfigureServices(ServiceConfigurationContext context)
{
    PostConfigure<AbpDataSeedOptions>(options =>
    {
        options.Contributors.RemoveAll(x => x == typeof(PermissionDataSeedContributor));
    });
}

public class YourPermissionDataSeedContributor : IDataSeedContributor, ITransientDependency

hi

You can inject IHtmlLocalizer, I tested, and it works.

hi

I downloaded your project, can you share some steps or tips?

You can try to change to a new folder, then check out the git code, and try to publish again.

Showing 5811 to 5820 of 11550 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.