Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "sumitshah"

hello team,

I need to implement the following functionality, how can we go ahead?

Do not allow user to login if the last logon date was over X number of days

We have the AbpUserLoginAttempts table from where I can get the creation time and compare with the X configured days. If the latest creation time is greater than X configured days, I need to lock the user and show a message on the UI

The catch here is, If I user the creation time of the AbpUserLoginAttempts for the validation and if the validation fails, we lock the user. The admin will unlock the user but then next time the user tries to login again, as there has been no new entry in the AbpUserLoginAttempts table, the user will again be locked.

Please help me out.

Hi Team,

We need to implement the validation where the user cannot use the recent - last <configurable> for eg. 5, passwords during password reset. As per our understanding and looking at the abp tables, we are not maintaining the recent passwords.

Is there a way we can implement this validation?

This is an urgent requirement from our stake holders.

Regards.

We are using ASP NET Zero v7.2.0.

For unit testing, instead of using seed date have connected to the actual database.

While running the unit tests on one of the AppService method we are encountering the below issue.

Castle.MicroKernel.Handlers.HandlerException : Can't create component 'Infogroup.IDMS.Caching.RedisCacheHelper' as it has dependencies to be satisfied.

'Infogroup.IDMS.Caching.RedisCacheHelper' is waiting for the following dependencies:
- Service 'Microsoft.Extensions.Caching.Distributed.IDistributedCache' which was not registered.

We created a helper class in which we have injected IDistributedCache for various redis opertions.which is being injected in the AppService.

Is there any way to get Redis cache work in the Test Project.

Hi,

Our implementation is pretty much straightforward.

foreach (var item in .selections)
{
    var segmentSelection = ObjectMapper.Map<SegmentSelection>(item);
    // Some data manipulation/processing
     await _segmentSelectionRepository.InsertAsync(segmentSelection);
}
await CurrentUnitOfWork.SaveChangesAsync();

Doing so sequence is getting distorted in sql table and if we move CurrentUnitOfWork.SaveChangesAsync() inside the for loop it's taking a performance hit.

Hi,

We have tried putting the CurrentUnitOfWork.SaveChangesAsync method in the loop and it does resolve the insert sequence issue but it also impacts the performance as insert query is being fired multiple times instead of only one time. So when multiple users are using the application and number of records being inserted by them is large then performance takes a hit.

Is there any other way to preserve the insert sequence in a single commit ?

Hello Team, In a table we are inserting multiple records using 'InsertAsync' in a for loop. Outside the loop we are calling 'await CurrentUnitOfWork.SaveChangesAsync()'.
So we need the records to be inserted in sequence but that is not happening... meaning suppose there are 20 records which are being inserted then the sequence of insert is not being preserved, it may insert 14th record before 2nd record. How can we preserve the sequence of inserts ?

Thank you

Sure @ismcagdas

This is the default theme (Theme 1) with below settings on the menu bar.

We upgraded ASP NET Zero framework from 7.2 to 8.6.0. When we set sub-menu toggle to dropdown in earliar versions in default theme, the menu options were shown as below.

After upgrading the project to ASP NET Zero 8.6.0,this sub menu dropdown is not showing up.

The same can be reporduced on the demo site which is generated through ASP NET Zero homepage.

We recently updated our appliaction's framework from ASP NET Zero v7.2 to v8.6.

While building the Angular Project, the CLI is emitting the below warnings

Warning: Entry point 'abp-ng2-module' contains deep imports into 'D:/Development/IDMSNG/IDMSNG/src/Infogroup.IDMS.Web.Host/nodemodules/rxjs/internal/observable/throwError'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Warning: Entry point 'angular2-text-mask' contains deep imports into 'D:/Development/IDMSNG/IDMSNG/src/Infogroup.IDMS.Web.Host/nodemodules/text-mask-core/dist/textMaskCore'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

WARNING in Exceeded maximum budget for D:/Development/IDMSNG/IDMSNG/src/Infogroup.IDMS.Web.Host/src/app/admin/subscription-management/invoice/invoice.component.less. Budget 6 kB was not met by 1.73 kB with a total of 7.73 kB.

We also tried building the raw ASP NET Zero Project (v8.6.0) which we downloaded from the website and it is also showing the same warnings.

For the one related to 'angular2-text-mask,' we found a post on Angular's github page (https://github.com/angular/angular/issues/31513) but no solution was provided and the issue was automatically closed.

Can you help us in resolving these issues.

Thank you,

I was able to view the private post and update the fonts as mentioned in the post. The things are working as desired and am able to use the fontawesome pro fonts in my application.

Am sure you guys are working on this and soon we would get a fix out so that there is no manual-copy-paste intervention required.

Showing 51 to 60 of 105 entries