Hi.
It looks not a problem with ABP, but Blazor: See: https://github.com/dotnet/aspnetcore/issues/38842#issuecomment-1342540950
You can try this:
Configure<HubOptions>(options =>
{
options.DisableImplicitFromServicesParameters = true;
});
Hi,
As I understand, you want to add a module reference to another module. if so, it's possible. actually, we already did.
For example:https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Web/AbpIdentityWebModule.cs#L23 The Identity module references the permission module.
But you can't use the suite to do it, you need to add references manually.
Hi,
How can avoid that behavior? I want all the ignored files exist as a single <link rel="stylesheet"> and not be included in the bundled minificated version.
It's Bundling & Minification system design, you can't avoid it. you should use link
tag add them to the page instead of using a bundle.
How is the bootstrap-light and bootstrap-dark (included in LeptonX Pro) excluded from minification and bundling? how can i approach something like this?
You can remove them from bundling, and use HTML tag to add them to page.
Also how can i change my own css from dark and light and being changed in the source code also as bootstrap-dark and bootstrap-light?
You can check the style-initializer.js file. The file path is /Themes/LeptonX/Global/scripts/style-initializer.js
.
For more information, see : https://docs.abp.io/en/abp/latest/UI/AspNetCore/Bundling-Minification
Hi,
For example:
var options = serviceProvider.GetRequiredService<IOptions<AbpHangfireOptions>>().Value;
var hangfireServer = options.BackgroundJobServerFactory.Invoke(serviceProvider);
Configure<AbpHangfireOptions>(options =>
{
options.ServerOptions = new BackgroundJobServerOptions
{
WorkerCount = 10,
ServerName = "myname",
//.....
};
});
Hi,
Control the number of instances of each server
Typically there is only one hangfire server per application instance, you can use AbpHangfireOptions to create hangfire server instance if you want.
Divide jobs into queues, I want to add some queues dynamically
ABP supports this in the 7.0 https://github.com/abpframework/abp/pull/13921. If you do not upgrade to the latest version, you need to use the Hangfire native API instead of Background job&worker.
I need to add more servers (I can create a replica of the Host project), But I need to configure with job work on which server
You don't care about it, Hangfire will handle it
I want to control the time span between jobs in the same queue
I didn't get it, you can check if hangfire supports this feature
I want to be able to configure AddHangfireServer not only AddHangfire
AddHangfireServer
is not used inside ABP. but you still can configure HangfireServer via BackgroundJobServerOptions
Configure<BackgroundJobServerOptions>(options=>
{
//.....
});
Hi,
I will check it.
Hi,
Ok, I will check it, your ticket will be refunded if it's a bug.
Hi,
You can replace the AbpResourceOwnerPasswordValidator
service.
https://github.com/abpframework/abp/blob/dev/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs#L65
PreConfigure<IdentityBuilder>(identityBuilder =>
{
identityBuilder.AddResourceOwnerValidator<MyAbpResourceOwnerPasswordValidator>();
});
Hi,
May I ask, Which auth server are you using, openiddict or identityserver?