Activities of "liangshiwei"

HI,

Are you talking about custom database tables?

See: https://docs.abp.io/en/abp/4.4/Entity-Framework-Core#mapefcoredbcontext

Example:

ObjectExtensionManager.Instance.MapEfCoreDbContext<FileManagementDbContext>(b =>
{
    //....
});

Hi,

Sorry, your description is not clear, I don't fully understand.

This is the module development document: https://docs.abp.io/en/commercial/latest/startup-templates/module/index

Hi,

Yes, web.public is for your users.

Hi,

This is designed to prevent uploading files with the same name from being overwritten, we store the real file name in the database, it will use the real name when you use the file management module to download files.

We do not recommend that you use real names to store files in azure blob.

However, you can do it if you need:

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IFileManager))]
public class MyFileManager : FileManager
{
    public MyFileManager(IFileDescriptorRepository fileDescriptorRepository, IBlobContainer<FileManagementContainer> blobContainer, IDirectoryDescriptorRepository directoryDescriptorRepository) : base(fileDescriptorRepository, blobContainer, directoryDescriptorRepository)
    {
    }

    public override async Task<FileDescriptor> CreateAsync(string name, string mimeType, IRemoteStreamContent content, Guid? directoryId = null,
        Guid? tenantId = null, bool overrideExisting = false)
    {
        var fileDescriptor = await SaveFileDescriptorAsync(name, mimeType, (int)(content.ContentLength ?? 0), directoryId, tenantId, overrideExisting);

        await BlobContainer.SaveAsync(name, content.GetStream(), true);

        return fileDescriptor;
    }
}

Hi,

We usually use constants for connection string names.

LanguageManagementDbProperties.ConnectionStringName is used for Language Management module:

 case LanguageManagementDbProperties.ConnectionStringName:
    using (_currentTenant.Change(null))
    {
        connectionstring = await base.ResolveAsync(connectionStringName);
    }
    break;

Hi @improwise,

I tried it again, but there is no problem, as you know I can't solve this problem if I can't reproduce. If you can provide a project I believe I can help you solve this problem quickly

Hi,

ABP Framework version: latest

Are you using version 4.4.4 or 5.0.0.beta3?

Hi @improwise

Short version, Blazor (client and server) seem to be broken currently even if you create a new project with default settings in ABP Suite and just try to run it after having executed DBMigrator.

I can't reproduce the problem.

Can you provide a project to me? shiwei.liang@volosoft.com

Hi,

Sorry, I forget one thing, the code you need to remove

Okay, please email me shiwei.liang@volosoft.com.

Also, We will write a guide to help switch to MongoDB, I will reply when the guide is complete.

Showing 5461 to 5470 of 6693 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.