Hi,
You can try setting the autoWidth value to true
Hi,
I have checked, and this is a known limit. you need to copy all DLL dependencies to the plug-in folder.
See: https://docs.abp.io/en/abp/latest/PlugIn-Modules#library-dependencies
And Microsoft document: https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support#plugin-with-library-dependencies
Hi,
We will check it
Hi,
We will check it.
Hi,
We had this problem before, it was fixed in the next version, can you upgrade to 5.3.1 and try again?
Hi,
You can remove the IdentityDataSeedContributor and add your DataSeedContributor,
it no longer create admin user&role when you removed IdentityDataSeedContributor.
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.Configure<AbpDataSeedOptions>(options =>
{
options.Contributors.Remove<IdentityDataSeedContributor>();
});
}
You can see the data seed system document:
https://docs.abp.io/en/abp/latest/Data-Seeding
https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityDataSeedContributor.cs
Hi,
Can you share the logs and steps? thanks
Is their any kind of extension method available for switching between Distributed Event Bus. Please advise.
No, we don't have such an extension, The event bus is designed to use only one implementation at the same time.
Also we we mentioned earlier If we are injecting both modules i.e. 'AbpEventBusRabbitMqModule' and 'AbpEventBusAzureModule' by default it's only picking RabbitMQ.
As I said, you can inject RabbitMqDistributedEventBus and AzureDistributedEventBus instead of IDistributedEventBus,
In this way, you can publish your own event to different event bus. but it's not perfect,。
Just an idea, you can create a hybrid event bus implementation class.
For example:
[ExposeServices(typeof(IDistributedEventBus), typeof(MyHybridEventBus))]
public class MyHybridEventBus : DistributedEventBusBase
{
private readonly RabbitMqDistributedEventBus _rabbitMqEventBus;
private readonly AzureDistributedEventBus _azureEventBus;
protected MyHybridEventBus(
IServiceScopeFactory serviceScopeFactory,
ICurrentTenant currentTenant,
IUnitOfWorkManager unitOfWorkManager,
IOptions<AbpDistributedEventBusOptions> abpDistributedEventBusOptions,
IGuidGenerator guidGenerator, IClock clock,
IEventHandlerInvoker eventHandlerInvoker,
RabbitMqDistributedEventBus rabbitMqEventBus,
AzureDistributedEventBus azureEventBus) :
base(serviceScopeFactory, currentTenant, unitOfWorkManager, abpDistributedEventBusOptions, guidGenerator, clock, eventHandlerInvoker)
{
_rabbitMqEventBus = rabbitMqEventBus;
_azureEventBus = azureEventBus;
}
public override async Task PublishAsync(Type eventType, object eventData, bool onUnitOfWorkComplete = true)
{
if (await ShouldPublishToRabbitMqAsync())
{
await _rabbitMqEventBus.PublishAsync(eventType, eventData, onUnitOfWorkComplete);
}
if (await ShouldPublishToAzureAsync())
{
await _azureEventBus.PublishAsync(eventType, eventData, onUnitOfWorkComplete);
}
}
private Task<bool> ShouldPublishToRabbitMqAsync()
{
...
}
private Task<bool> ShouldPublishToAzureAsync()
{
...
}
}