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
];
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