Base solution for your next web application

Activities of "niengineering"

Here the most important part (I can share more privately)

DEBUG 2024-04-25 22:04:34,428 [1 ] o.Configuration.LanguageManagementConfig - Converted XYZ (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource DEBUG 2024-04-25 22:04:34,428 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource DEBUG 2024-04-25 22:04:39,718 [1 ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: XYZ.EntityFrameworkCore.XYZDbContext, XYZ.EntityFrameworkCore, Version=12.1.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2024-04-25 22:09:03,436 [1 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources. DEBUG 2024-04-25 22:09:03,507 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp

AS you can see the longest time is taken by "Registering DbContext"

Thank you for the answer but it is not solving the issue. In our case the problem is the long startup time needed and caused by the big number of tables we have. This is very annoying during development and wasting a lot of time of developers. Can we solve this issue in some other way?

Hi,

but how and where can I remove the queryfilter from Entity table?

We are trying to compile the DbContext to improve the speed in startup of our application.

We are running the command "Optimize-DbContext" on EntityFrameworkCore project and we are receiving the error "The entity type 'Edition' has a query filter configured. Compiled model can't be generated, because query filters are not supported.".

Is there a standard way to bypass this issue in ASPNETZERO?

Thank you

I confirm that is a browser feature but in some way is driven from the code.

I see that for example that removing the 'autocomplete="new-password"' attribute allows autofill of username (not username and password at the same time)

Question

Dear Support,

we have an issue in the login page. We see that all browser are correctly storing the credentials information but when trying to login a second time the username prefilling is not proposed. Basically the user needs to focus the password field so the browser will propose the username and password to use. Could we do something to solve this issue?

Thank you

Solved, my fault... there was an extra space in the string to be translated

Hi,

it doesn't work with abp.localization.localize

Answer

I was reading documentation of Angular that does not include same details of https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Features-Mvc-Core-Social-Logins

Now I'm following this: https://support.aspnetzero.com/QA/Questions/11067/OpenID-authentication-with-Azure-AD

Question

Dear support,

our need is to authenticate our users with Azure AD. Our app is multitenant so we need to be able to provide connection to different Microsoft tenant based on our app tenant. I've read some old support request and I would like to be sure we have not a solution out-of-the box. Could you confirm a suggested strategy?

Thank you

Showing 1 to 10 of 20 entries