Hi,
Maybe you can check: https://docs.abp.io/en/abp/4.4/UI/AspNetCore/Modals
Hi,
You can try:
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(UserManagement))]
public class MyUserManagement : UserManagement
{
protected override async Task OnCreatingEntityAsync()
{
if (NewEntity.Name.IsNullOrWhiteSpace())
{
throw new UserFriendlyException("Name can not be null");
}
await base.OnCreatingEntityAsync();
}
}
Hi,
Payment server Blazor Ui(admin side) is available, Chat Blazor UI is in the roadmap, maybe version 5.1.
See:
https://docs.abp.io/en/abp/latest/Startup-Templates/Application#how-to-run https://docs.abp.io/en/abp/latest/Startup-Templates/Module#how-to-run
Hi,
You can try:
$.ajax({
url: "/FileManagement",
dataType: "text/html",
success:function(html){
$("#modalBodyId").html(html);
$("#modalId").modal('show');
}
})
HI,
I will check it out.
Hi,
Seems like you are using Blazor UI.
Can you check this: https://docs.abp.io/en/abp/latest/Modules/Setting-Management#blazor-ui?
You can also refer this: https://github.com/abpframework/abp/blob/dev/modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Settings/EmailingPageContributor.cs
Hi,
Can you share your code and full logs?
But it's been suggested here that I not use the connection name string, but rather use the full namespace and Interface class name to resolve this issue.
Sorry, I never recommend that you use full namespaces, you should always use constants.
It works for me.
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IConnectionStringResolver))]
public class MyMultiTenantConnectionStringResolver : MultiTenantConnectionStringResolver
{
private readonly ICurrentTenant _currentTenant;
public MyMultiTenantConnectionStringResolver(
IOptionsSnapshot<AbpDbConnectionOptions> options,
ICurrentTenant currentTenant,
IServiceProvider serviceProvider) : base(options, currentTenant, serviceProvider)
{
_currentTenant = currentTenant;
}
public override async Task<string> ResolveAsync(string connectionStringName = null)
{
if (_currentTenant.IsAvailable)
{
switch (connectionStringName)
{
case AbpPermissionManagementDbProperties.ConnectionStringName:
using (_currentTenant.Change(null))
{
var connectionString = await base.ResolveAsync(connectionStringName);
return connectionString;
}
//.........
}
}
return await base.ResolveAsync(connectionStringName);
}
}