Activities of "liangshiwei"

Hi,

We are focusing Blazor Full-Stack Web App UI: https://github.com/abpframework/abp/issues/18289

No plan to do Lazy loading with Blazor WebAssembly yet.

Duplicate of https://support.abp.io/QA/Questions/6383/Remove-one-of-the-action-contributors-in-Identity-module-angular-UI

Hi,

See: https://docs.abp.io/en/abp/latest/UI/Angular/Entity-Action-Extensions#how-to-place-a-custom-modal-and-trigger-it-by-entity-actions

You can create an identityEntityActionContributor to remove the action:


....

export function removeDeleteContributor(actionList: EntityActionList<IdentityUserDto>) {
  actionList.dropByValue('AbpIdentity::Delete', (value, searchedValue) => value.text === searchedValue);
}

export const identityEntityActionContributors: IdentityEntityActionContributors = {
  // enum indicates the page to add contributors to
  [eIdentityComponents.Users]: [
    removeDeleteContributor,
    // You can add more contributors here
  ],
};

....

// src/app/app-routing.module.ts

// other imports
import { identityEntityActionContributors } from './entity-action-contributors';

const routes: Routes = [
  // other routes

  {
    path: 'identity',
    loadChildren: () =>
      import('@volo/abp.ng.identity').then(m =>
        m.IdentityModule.forLazy({
          entityActionContributors: identityEntityActionContributors,
        })
      ),
  },

  // other routes
];

HI,

Version 8.0 of the package has been released, have you configured the ABP commercial Nuget source?

Hi,

It seems that you have made some changes, ABP didn't use that.

Could you share a test project to reproduce the problem? I will check it. my email is shiwei.liang@volosoft.com

Yes, please.

You can create a new project to reproduce the problem.

Shared

You can try:

ConnectionMultiplexer.Connect(configuration["Redis:Configuration"], configure =>
{
    configure.AbortOnConnectFail = false;
});

Hi,

Ok, Although I don't recommend you to do this, it should be possible.

For example(this just is an idea):

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IDistributedCache))]
public class MyRedisCache : IDistributedCache, ICacheSupportsMultipleItems
{
    private readonly AbpRedisCache _cache;

    public MyRedisCache(AbpRedisCache cache)
    {
        _cache = cache;
    }

    public byte[]? Get(string key)
    {
        if (IsRedisAvailable())
        {
            return _cache.Get(key);
        }

        return null;
    }
    
    protected virtual bool IsRedisAvailable()
    {
        // check redis connection
        return true;
    }
    
    .....
}


public override void ConfigureServices(ServiceConfigurationContext context)
{
    .....
    context.Services.AddSingleton<AbpRedisCache>();
}

Hi,

I think you shouldn't stop the application from crashing if Redis server is not available

In distributed and microservice applications, distributed caching is necessary. It's like SQLServer. Imagine if the SQLServer is unavailable, will you choose to keep the application running?

You can check this: https://support.abp.io/QA/Questions/6344/Why-do-we-need-to-install-Redis-When-is-it-used-Why-Redis-is-needed

Showing 2711 to 2720 of 6692 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 15, 2025, 12:19