Activities of "maliming"

hi

I suggest you understand these 4 entities from the code first.


builder.Entity<DatabaseBlobContainer>(b =>
{
    b.ToTable(AbpBlobStoringDatabaseDbProperties.DbTablePrefix + "BlobContainers", AbpBlobStoringDatabaseDbProperties.DbSchema);

    b.ConfigureByConvention();

    b.Property(p => p.Name).IsRequired().HasMaxLength(DatabaseContainerConsts.MaxNameLength);

    b.HasMany<DatabaseBlob>().WithOne().HasForeignKey(p => p.ContainerId);

    b.HasIndex(x => new { x.TenantId, x.Name });

    b.ApplyObjectExtensionMappings();
});

builder.Entity<DatabaseBlob>(b =>
{
    b.ToTable(AbpBlobStoringDatabaseDbProperties.DbTablePrefix + "Blobs", AbpBlobStoringDatabaseDbProperties.DbSchema);

    b.ConfigureByConvention();

    b.Property(p => p.ContainerId).IsRequired(); //TODO: Foreign key!
        b.Property(p => p.Name).IsRequired().HasMaxLength(DatabaseBlobConsts.MaxNameLength);
    b.Property(p => p.Content).HasMaxLength(DatabaseBlobConsts.MaxContentLength);

    b.HasOne<DatabaseBlobContainer>().WithMany().HasForeignKey(p => p.ContainerId);

    b.HasIndex(x => new { x.TenantId, x.ContainerId, x.Name });

    b.ApplyObjectExtensionMappings();
});

builder.Entity<DirectoryDescriptor>(b =>
{
    b.ToTable(FileManagementDbProperties.DbTablePrefix + "DirectoryDescriptors", FileManagementDbProperties.DbSchema);

    b.ConfigureByConvention();

    b.Property(p => p.Name).IsRequired().HasMaxLength(DirectoryDescriptorConsts.MaxNameLength);

    b.HasMany<DirectoryDescriptor>().WithOne().HasForeignKey(p => p.ParentId);
    b.HasOne<DirectoryDescriptor>().WithMany().HasForeignKey(p => p.ParentId);

    b.HasMany<FileDescriptor>().WithOne().HasForeignKey(p => p.DirectoryId);

    b.HasIndex(x => new { x.TenantId, x.ParentId, x.Name });

    b.ApplyObjectExtensionMappings();
});

builder.Entity<FileDescriptor>(b =>
{
    b.ToTable(FileManagementDbProperties.DbTablePrefix + "FileDescriptors", FileManagementDbProperties.DbSchema);

    b.ConfigureByConvention();

    b.Property(p => p.Name).IsRequired().HasMaxLength(FileDescriptorConsts.MaxNameLength);
    b.Property(p => p.MimeType).IsRequired().HasMaxLength(FileDescriptorConsts.MaxMimeTypeLength);
    b.Property(p => p.Size).IsRequired().HasMaxLength(FileDescriptorConsts.MaxSizeLength);

    b.HasOne<DirectoryDescriptor>().WithMany().HasForeignKey(p => p.DirectoryId);

    b.HasIndex(x => new { x.TenantId, x.DirectoryId, x.Name });

    b.ApplyObjectExtensionMappings();
});

In addition, we cannot convert data from IDirectoryDescriptorAppService with getqueryable. Can you help me with this issue?

Do you mean that repository cannot call this method? Which repository interface?

2023-03-06 10:35:05.297 +01:00 [INF] Request finished HTTP/2 GET https://localhost:44325/connect/authorize?client_id=Checklist_Blazor&redirect_uri=https%3A%2F%2Flocalhost%3A44374%2Fauthentication%2Flogin-callback&response_type=code&scope=openid%20profile%20Checklist%20roles%20email%20phone&state=557c3358d46f43aabc92583e355cee5d&code_challenge=0QsutV1yk838XT5rzNW5mwn1s5VBCMGwCFZCIIVtNrU&code_challenge_method=S256&response_mode=query - - - 302 - - 173.9579ms

2023-03-06 10:35:14.015 +01:00 [INF] Request starting HTTP/2 GET https://localhost:44325/.well-known/openid-configuration - -

This is like a browser problem. Please check the browser request.

hi

Please remove these lines from your Program.cs file

then see the details logs.

.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)

I sent you a test class. Please reproduce the problem and share the log. I will continue to analyze the log.

The meeting was closed by zoom because of the time, I will study it for a while, and I will reply you asap.

hi https://us05web.zoom.us/j/89923264638?pwd=VDBUakd3ZXAxWGgvcmJVZjdiQ1Rldz09

<p>
   @{
        var applicationConfigurationClient = HttpContext.RequestServices.GetRequiredService<ICachedApplicationConfigurationClient>();
        var applicationConfiguration = await applicationConfigurationClient.GetAsync();
        var json = JsonSerializer.Serialize(applicationConfiguration, new JsonSerializerOptions()
        {
            WriteIndented = true
        });
   }

   @json
</p>

hi

Can you share the logs of Authserver and web?

The log that you shared seems incomplete.

hi

Please share logs(Logs.txt) of the three applications. liming.ma@volosoft.com

Please clear the Redis cache after published. Thanks

btw, your application working on my local.

Showing 7561 to 7570 of 11531 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.