Activities of "liangshiwei"

Hi,

I remember that native apps like android and ios apps don't have cookies, make a mobile login page to send a request to the token endpoint is a better way.

Hi,

Got it, I think you can create an audit Log Contributors : https://docs.abp.io/en/abp/latest/Audit-Logging#audit-log-contributors

public class MyAuditLogContributor : AuditLogContributor
{
    public override void PostContribute(AuditLogContributionContext context)
    {
        foreach (var action in context.AuditInfo.Actions)
        {
            if (action.Parameters.Length > 2000)
            {
                action.Parameters = action.Parameters.Substring(0, 1999);
            }
        }
    }
}

Hi,

Can you provide steps to reproduce? thanks.

Hi,

You can custom the AuditLog entity.

Try:


public class MigrationDbContext
{
    ......

    protected override void OnModelCreating(ModelBuilder builder)
    {
        .......

        builder.Entity<AuditLog>(b =>
        {
            b.Property(x => x.Comments).HasMaxLength(int.MaxValue);
        });
    }
}

And add & apply migration.

Solved.

Could you give me some ideas or examples for the M:M in microservices. You know, M:M is very common in Microservice

Maybe you can create a shared entityframemworkcore project, since they use the same database, why not use the same database context, which will make development easier

Can we use category automapperprofile directly in the productcetner module?

Same solution, create a shared application.contract project.

Hi,

Maybe you can use oracle version 12.2 or higher: https://stackoverflow.com/questions/3085562/ora-00972-identifier-is-too-long-alias-column-name

Please send email to me. shiwei.liang@volosoft.com

Hi,

Do these two modules use the same database? if yes, you can try call the builder.ConfigureCategoryCenter in the ProductCenterDbContext

Hi,

Can I check it remotely?

Showing 4991 to 5000 of 5968 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11