Activities of "Naren"

We have app in production, timely help is needed.

Thank you

Hi Enisn,

In developer machine it loads from memory cache\disc cache but in production both are downloaded from the server. You can even see a lag in millisecs

Hi, we are usig Abp5.3 on .net 6 with a Blazor Web Assembly

For the time load it loads index then point to login and then reloads index which is fine. But for every refresh even after login from browser, it goes to login-call back internally and loads index.html twice.

Our query is when user already logged it should straight load index page. Since index loaded twice, all the resources are loaded twice, this is impacting the performance on first load to the customer.

Can you please help what setting needs to be changed?

any other way during deployment i need run the the script becuase i have lakhs of data

Hi,

ABP provides data seed system: https://docs.abp.io/en/abp/latest/Data-Seeding

Is it suitable for you?

No, its not suitable for this

hi

Please try to add a custom js to your API website https://docs.abp.io/en/abp/latest/UI/AspNetCore/Bundling-Minification#configuring-an-existing-bundle

abp.appPath = "/SubFolder/" 
Configure<AbpBundlingOptions>(options => 
{ 
    options 
        .ScriptBundles 
        .Get(LeptonThemeBundles.Scripts.Global) 
        .AddFiles("/Pages/common.js"); 
}); 

Hi,

where we need to add above changes. abp.appPath in abp.js correct and config changes ? and how do we change images path like logo ?

Can you share the content of appsettings.json? details shared on liming.ma@volosoft.com.

hi

Can you try to change the BaseUrl of RemoteServices in Blazor\wwwroot\appsettings.json

yes already have baseurl with sub folder.

Thanks

2021-03-25 11:56:57.205 +05:30 [INF] Request starting HTTP/1.1 POST https://localhost:44318/connect/token application/x-www-form-urlencoded 137 2021-03-25 11:56:57.221 +05:30 [DBG] Request path /connect/token matched to endpoint type Token 2021-03-25 11:56:57.236 +05:30 [DBG] Endpoint enabled: Token, successfully created handler: IdentityServer4.Endpoints.TokenEndpoint 2021-03-25 11:56:57.236 +05:30 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.TokenEndpoint for /connect/token 2021-03-25 11:56:57.236 +05:30 [DBG] Start token request. 2021-03-25 11:56:57.236 +05:30 [DBG] Start client validation 2021-03-25 11:56:57.236 +05:30 [DBG] Start parsing Basic Authentication secret 2021-03-25 11:56:57.236 +05:30 [DBG] Start parsing for secret in post body 2021-03-25 11:56:57.236 +05:30 [DBG] Parser found secret: PostBodySecretParser 2021-03-25 11:56:57.236 +05:30 [DBG] Secret id found: xxxxx 2021-03-25 11:56:57.248 +05:30 [DBG] client configuration validation for client xxxxx succeeded. 2021-03-25 11:56:57.248 +05:30 [DBG] No matching hashed secret found. 2021-03-25 11:56:57.248 +05:30 [DBG] Secret validators could not validate secret 2021-03-25 11:56:57.248 +05:30 [INF] {"ClientId":"xxxxx","Category":"Authentication","Name":"Client Authentication Failure","EventType":"Failure","Id":1011,"Message":"Invalid client secret","ActivityId":","TimeStamp":"2021-03-25T06:26:57.0000000Z","ProcessId":,"LocalIpAddress,"RemoteIpAddress"","$type":"ClientAuthenticationFailureEvent"} 2021-03-25 11:56:57.248 +05:30 [ERR] Client secret validation failed for client: xxxxx.

Showing 1 to 10 of 16 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11