Activities of "maliming"

Question Credits Refunded

hi

Use the below code to fix the problem, We will fix it in abp framework.

Configure<AbpBlobStoringOptions>(options =>
{
    options.Containers.Configure<PhotoContainer>(container =>
    {
        container.UseMinio(minio =>
        {
            minio.EndPoint = "localhost:9000"; // your minio endPoint
            minio.AccessKey = "minioadmin"; // your minio accessKey
            minio.SecretKey = "minioadmin"; // your minio secretKey
            minio.BucketName = "photo";

            minio.CreateBucketIfNotExists = true;
        });

        container.ProviderType = typeof(MyMinioBlobProvider);
    });
}
using Minio;
using Volo.Abp.BlobStoring;
using Volo.Abp.BlobStoring.Minio;

namespace KlicKlac;

public class MyMinioBlobProvider : MinioBlobProvider
{

    public MyMinioBlobProvider(
        IMinioBlobNameCalculator minioBlobNameCalculator,
        IBlobNormalizeNamingService blobNormalizeNamingService)
        : base(minioBlobNameCalculator, blobNormalizeNamingService)
    {
    }

    protected override MinioClient GetMinioClient(BlobProviderArgs args)
    {
        var configuration = args.Configuration.GetMinioConfiguration();

        var client = new MinioClient()
            .WithEndpoint(configuration.EndPoint)
            .WithCredentials(configuration.AccessKey, configuration.SecretKey);

        if (configuration.WithSSL)
        {
            client.WithSSL();
        }

        return client.Build();;
    }
}

Answer

We plan to fix it today.

Yes, Because this is not a database created by AbpDbContext.

You can give it a try. Just use a normal ef core dbcontext.

hi

I created an internal issue.

hi

Can you try this?

options.Databases.Configure("FileManagerService", database =>
{
    database.MappedConnections.Add("FileManagerService");
    database.MappedConnections.Add("AbpBlobStoring"); // add this line.
});

hi

Is the TenantId property of your entity has the set method?

public Guid? TenantId { get; private set; }

https://github.com/abpframework/abp/pull/10490/files

hi

You can override the LanguageSwitchcomponent.

lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Toolbar\LanguageSwitch\Default.cshtml

lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Toolbar\LanguageSwitch\LanguageSwitchViewComponent.cs

Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.Toolbar.LanguageSwitch.LanguageSwitchViewComponent

hi You can try to generate a DbContext and use it. https://docs.microsoft.com/en-us/ef/core/cli/dotnet#dotnet-ef-dbcontext-scaffold https://www.learnentityframeworkcore.com/walkthroughs/existing-database

hi

Try to update the migratisons and update the database.

Showing 8871 to 8880 of 11530 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.