This is a query regarding the dynamic blob storage option in abp.io. As per the current documentation, I have to add the provider options in the module class. Our requirement is, per tenant the provider options may vary. Is it possible to dynamically configure the provider options?
I run the abp install-libs
command. It is working now.
I placed the code in Program class Main Method, now its loading.
await builder.AddApplicationAsync<PlugInPOCWebModule>(options => { options.PlugInSources.Add(new FolderPlugInSource( @"D:\POCs\MyPlugIns")); });
The issue is all plugins are loading on program start, How do I load plugins dynamically and lazily?
This is not working as expected, even after adding this code application become too slow to process the requests.
I went through the link shared, I have one question only the below section is enough to solve this issue, or do I need to change anything in my background service level code?
context.Services.AddSingleton<IDistributedLockProvider>(sp => { var connection = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); return new RedisDistributedSynchronizationProvider(connection.GetDatabase()); });
Do you use multiple instances of that service?
Yes, I am using multiple instances of the service, Is there any way to stop running multiple time?
If you're creating a bug/problem report, please include the followings: