Hi,
Because the Blazor server account(login, register, manage...etc) pages using MVC UI
You also need to customize the MVC UI theme
red.css and bootstrap-red.css have to be added under wwwroot/Themes/LeptonX/Global/side-menu/css/ folder for switching to your custom theme properly when selected. If your layout is TopMenu, then you have to add them under the wwwroot/Themes/LeptonX/Global/top-menu/css/ folder.
https://docs.abp.io/en/commercial/latest/themes/lepton-x/mvc#customization
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>();
}