Hi,
Could you try dotnet publish -c Release first?
Hi,
I will update the document
Hi,
Maybe you can consider this: https://docs.abp.io/en/abp/latest/UI/Angular/Config-State-Service#set-state
import {AbpApplicationConfigurationService, ConfigStateService} from '@abp/ng.core';
constructor(private abpApplicationConfigurationService: AbpApplicationConfigurationService, private config: ConfigStateService) {
this.abpApplicationConfigurationService.get().subscribe(config => {
//you can call your method here for refreshing the configuration properties
})
}
Hi,
This can be done, but you will need a custom module code
For example:
Configure allowed tenants:
appsettings.json
"ExternalTenantProviders": {
"tenantA" : "windows,google",
"tenantB" : "google"
}
Here I used a configuration file, you can create an entity stored to the database
Replace the ExternalProviderSettingsHelper
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(ExternalProviderSettingsHelper))]
public class MyExternalProviderSettingsHelper : ExternalProviderSettingsHelper
{
private readonly IConfiguration _configuration;
private readonly ICurrentTenant _currentTenant;
public MyExternalProviderSettingsHelper(ICurrentTenant currentTenant, IOptions<AbpExternalProviderOptions> externalProvidersOptions, ISettingManager settingManager, IJsonSerializer jsonSerializer, IConfiguration configuration) : base(currentTenant, externalProvidersOptions, settingManager, jsonSerializer)
{
_currentTenant = currentTenant;
_configuration = configuration;
}
public override async Task<List<ExternalProviderSettings>> GetAllAsync()
{
var settings = await base.GetAllAsync();
if (_currentTenant.IsAvailable)
{
var allowedProviders = _configuration[$"ExternalTenantProviders:{_currentTenant.Name}"];
if (allowedProviders.IsNullOrWhiteSpace())
{
settings.Clear();
}
else
{
settings = settings.Where(x => allowedProviders.Split(",").Contains(x.Name)).ToList();
}
}
return settings;
}
}
Hi,
Normally you can directly reference the Blazor component library without problem.
is there an example on how to configure the template/Crud generation so the UI parts would be created inside the Razor Class library
Suite currently does not support generating pages for the Razor Class library You can create a module template and reference it
Hi,
Also, please remember to copy openiddict.pfx to the Content Root Folder of the AuthServer website.
Can you check this? https://docs.abp.io/en/abp/latest/Deployment/Configuring-OpenIddict#production-environment
Hi,
It's open source: https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Maui.Client/Volo/Abp/Maui/Client/AbpMauiClientModule.cs
Could you share the error log?
You did not configure the AuditMessageHandler
public override void PreConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<AbpHttpClientBuilderOptions>(options =>
{
options.ProxyClientBuildActions.Add((remoteServiceName, clientBuilder) =>
{
clientBuilder.AddHttpMessageHandler<AuditMessageHandler>();
});
});
}
Your ticket was refunded.