Starts in:
1 DAY
23 HRS
21 MIN
2 SEC
Starts in:
1 D
23 H
21 M
2 S
Open Closed

Localization and Configuration endpoints called multiple times when using Azure SignalR Service in Blazor Server Application #5288


User avatar
0
neethucp created

Hi,

We are seeing multiple api calls to configuration and localization endpoints after configuring Azure SignalR in Blazor Server Application. I assume it is invoked each time we try to access a localisation text or add a permission check in the app. Please help to fix.

/api/abp/application-localization?CultureName=en&OnlyDynamics=True&api-version=1.0 /api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0

Thanks

ABP Framework version: v7.2.2 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes


4 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Could you share a project to reproduce it? I will check it. shiwei.liang@volosoft.com

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I can't run this project, can you provide an azure SignalR connect string?

  • User Avatar
    0
    hothsv created

    I have sent you a private email with the connection string as requested

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can change the cache time:

    Configure<AbpAspNetCoreMvcClientCacheOptions>(options =>
    {
        options.ApplicationConfigurationDtoCacheAbsoluteExpiration = TimeSpan.FromMinutes(5);
    });
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06