Activities of "maliming"

hi

You can refer to this Console App.

https://github.com/abpframework/abp/blob/dev/templates/console/src/MyCompanyName.MyProjectName/Program.cs#L55

hi

Try this

public override void ConfigureServices(ServiceConfigurationContext context)
{
    var hostingEnvironment = context.Services.GetHostingEnvironment();
    var configuration = context.Services.GetConfiguration();

    context.Services.AddSignalR(options =>
    {
        options.AddFilter<AbpSignalRFilter>();
    }).AddAzureSignalR(options =>
    {
        options.ServerStickyMode = Microsoft.Azure.SignalR.ServerStickyMode.Required;
        options.ConnectionString = "Endpoint=.....;";
    });
}

public class AbpSignalRFilter : IHubFilter
{
    public async ValueTask<object> InvokeMethodAsync(HubInvocationContext invocationContext, Func<HubInvocationContext, ValueTask<object>> next)
    {
        var currentPrincipalAccessor = invocationContext.ServiceProvider.GetRequiredService<ICurrentPrincipalAccessor>();
        using (currentPrincipalAccessor.Change(invocationContext.Context.User))
        {
            return await next(invocationContext);
        }
    }

    // Optional method
    public Task OnConnectedAsync(HubLifetimeContext context, Func<HubLifetimeContext, Task> next)
    {
        return next(context);
    }

    // Optional method
    public Task OnDisconnectedAsync(
        HubLifetimeContext context, Exception exception, Func<HubLifetimeContext, Exception, Task> next)
    {
        return next(context, exception);
    }
}

Done

hi

liming.ma@volosoft.com

https://docs.abp.io/en/abp/4.4/Modules/IdentityServer#abpidentityserverbuilderoptions

public override void PreConfigureServices(ServiceConfigurationContext context)
{
	PreConfigure<IIdentityServerBuilder>(builder =>
	{
    	builder.AddSigningCredential(...);	
	});
}

hi

The AllowAnonymous attribute only take effect in the application service method or class.

You can consider using ILanguageTextRepository in the Domain instead of application services.

Can I list the tenants in my DB in my configureservices on application module?

The built-in service does not support this.

hi rcalv002

Maybe you can consider to use AbpDynamicOptionsManager, Call SetAsync method before using HTTP client.

https://github.com/abpframework/abp/pull/6333#issue-749741707

hi

Adding the [AllowAnonymous] attribute has not worked.

Can you share some code of your background job and the app serivce?

hi

This is of course possible, you need to completely remove the relevant modules from the project, and then re-create the migration.

Showing 10041 to 10050 of 11531 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.