Activities of "maliming"

hi

Please update the package to 9.1.1. The IgnoredNavigationEntitySelectors will be available.

Thanks.

hi

Add to your AuthServer project.

using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.IdentityModel.Protocols;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Volo.Abp.Account.Public.Web.ExternalProviders;
using Volo.Abp.DependencyInjection;

namespace AbpMicroservices.AuthServer;

public class MyOpenIdConnectOptionsPostConfigureAccountExternalProviderOptions : IPostConfigureAccountExternalProviderOptions<OpenIdConnectOptions>, ITransientDependency
{
    public Task PostConfigureAsync(string name, OpenIdConnectOptions options)
    {
        if (!string.IsNullOrEmpty(options.Authority))
        {
            options.MetadataAddress = options.Authority;
            if (!options.MetadataAddress.EndsWith('/'))
            {
                options.MetadataAddress += "/";
            }

            options.MetadataAddress += ".well-known/openid-configuration";
        }

        options.ConfigurationManager = new ConfigurationManager<OpenIdConnectConfiguration>(options.MetadataAddress, new OpenIdConnectConfigurationRetriever(),
            new HttpDocumentRetriever(options.Backchannel) { RequireHttps = options.RequireHttpsMetadata })
        {
            RefreshInterval = options.RefreshInterval,
            AutomaticRefreshInterval = options.AutomaticRefreshInterval,
        };

        return Task.CompletedTask;
    }
}

Thanks. I will check it.

hi

We have a lot of entities similar to this, so should we configure this for every entity?

You can ignore them(TaskTypes) in MyAbpEfCoreNavigationHelper

Or set PublishEntityUpdatedEventWhenNavigationChanges to false of AbpEntityChangeOptions to keep the previous behavior.

hi

We will publish an event and update the entity when a navigation property of an entity has changed

But you can disable it for a specific entity.

Please try to add MyAbpEfCoreNavigationHelper to your EF Core project.

using Microsoft.EntityFrameworkCore.ChangeTracking;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EntityFrameworkCore.ChangeTrackers;
using Volo.Abp.OpenIddict.Tokens;

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(AbpEfCoreNavigationHelper))]
public class MyAbpEfCoreNavigationHelper : AbpEfCoreNavigationHelper
{
    public override void ChangeTracker_Tracked(object? sender, EntityTrackedEventArgs e)
    {
        if (e.Entry.Entity.GetType() == typeof(TaskType))
        {
            return;
        }

        base.ChangeTracker_Tracked(sender, e);
    }

    public override void ChangeTracker_StateChanged(object? sender, EntityStateChangedEventArgs e)
    {
        if (e.Entry.Entity.GetType() == typeof(TaskType))
        {
            return;
        }

        base.ChangeTracker_StateChanged(sender, e);
    }
}


And we add a selector to ignore some entities >= 9.1.1

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

hi

Can you share the two entity class code?

TaskType and Task


You can also Using the DisableTracking extension method to do the same thing as IReadOnlyRepository

https://abp.io/docs/9.0/framework/architecture/domain-driven-design/repositories#repository-extension-methods-for-change-tracking

Thanks.

hi

We're encountering concurrency errors when making parallel requests, even when the entity remains unmodified.

What entity changed?

Can you share some code?


The entity will be changed if its child entities have changed.

AbpEntityChangeOptions => PublishEntityUpdatedEventWhenNavigationChanges

Thanks.

hi

Can you share a test project that inlcude your ms external login info?

liming.ma@volosoft.com

Thanks.

hi

You have to assign it a valid value initially, and it will change at runtime based on your current tenant.

hi

You can disable the lib check with

Configure<AbpMvcLibsOptions>(options =>
{
    options.CheckLibs = false;
});

If you can share a project, I'll download and review it.

liming.ma@volosoft.com

Thanks.

Showing 1351 to 1360 of 10652 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20