Activities of "maliming"

hi

Can you try this? Please set your default language to Finnish,

app.UseAbpRequestLocalization(x =>
{
    x.RequestCultureProviders.RemoveAll(p => p.GetType() == typeof(AcceptLanguageHeaderRequestCultureProvider));
});

You need to restart the application to take effect when you change the default language.

I will deal with this problem. https://github.com/abpframework/abp/issues/9158

hi

As you can see. There is a console app. that call the IProfileAppService which requires authentication and authorization,

It will use the identity server to get the token, and then call the web api corresponding to IProfileAppService.

https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/appsettings.json#L7

You can call application services in a similar way in your event handler or background job/work.

hi

You can create a new project, and then replace the database provider to npgsql to check whether our built-in features can be works

Can you try? This can rule out the problem with npgsql.

HI

can you share some code of your web api?

hi

Abp will set the DefaultRequestCulture of RequestLocalizationOptions as your default language. Then the Localization middleware will handle localization.

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-5.0#localization-middleware-2

QueryStringRequestCultureProvider
CookieRequestCultureProvider
AcceptLanguageHeaderRequestCultureProvider

put Spanish by default.But whn I run the solution, my application is in english, and I can not change th language. On this case it should not take the default language from ABP which is Spanish?

Your browser request header may contains en. (accept-language: en,es;q=0.9,es;q=0.8)

So will still use en, unless no language is found in QueryString, Cookie, AcceptLanguage, the default language will be used.

You can consider removing AcceptLanguageHeaderRequestCultureProvider. The language will be stored in cookies when the user selects a language.

Configure<RequestLocalizationOptions>(options =>
{
    options.RequestCultureProviders.RemoveAll(x => x.GetType() == typeof(AcceptLanguageHeaderRequestCultureProvider));
});

hope this helps.: )

hi

According to the design, the audit log may be stored in different databases. Even in MongoDb.

So we do not recommend you to create a relationship for them. You can query the user's info based on the CreatorId.

You can select the scopes.

hi

Maybe this is a bug of npgsql.

https://github.com/npgsql/efcore.pg/issues/1859

You can create a new project, and then replace the database provider to npgsql to check whether our built-in features can be works.

hi

Can you try another database? For example, localdb or another computer.

hi

Host and tenant are independent. You should set their user roles and permissions separately.

Please reply if I misunderstanding your mean. : )

Showing 7761 to 7770 of 8489 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56