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

Activities of "sumitshah"

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? ASP NET Zero v7.2.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

We are giving a call to WCF service which does some processing

When it takes a longer time we are encountering the below error.

We are able to increase the send timeout from the Service Reference file in the application and the it was working as desired.

But when we deployed the app on IIS, it was not honoring the specified sendTimout property and started giving a different error.

How can we solve this issue.?

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.

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

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.

Hi Team,

We have acquired license for Fontawesome pro and trying to configure the same in the aspnetzero application. We are using angular 8 - .netcore version(aspnetzero 7.2)

Below are the steps we have followed so far:

  1. Created an .npmrc file in the root directory of the host project where we have the package.json file and added the below lines along with valid token: @fortawesome:registry=https://npm.fontawesome.com/ //npm.fontawesome.com/:_authToken=XXXXXXXX-XXXX
  2. Next installed the latest version of fontawesome using yarn yarn add @fortawesome/fontawesome-pro
  3. Verified the package.json and the fortawesome version is the latest i.e. 5.13
  4. In the angular.json added the below line below the metronic theme "node_modules/@fortawesome/fontawesome-pro/css/all.css",
  5. Later in one of the component.html file tried using/ adding an icon from the font awesome pro version <i class="fal fa-camera"></i>

We are unable to see the icon on the UI, inspecting the element it seems it is still using the metronic class from the vendor.bundle.css

Could you please help me out with this as we are stuck with this and we need to implement some pro icons in our application.

We have 3 application service which uses the same piece of code.

In order to reduce redundancy we want to introduce a Domain Service.

We have gone through ABP documents : https://aspnetboilerplate.com/Pages/Documents/Domain-Services.

Unlike Application Services which get/return Data Transfer Objects, a Domain Service gets/returns domain objects (like entities or value types).

It mentions not to get/return Data Transfer Objects,

And our requirment is to return a custom class / Dto which is neither an entity nor a value type.

Please suggest

We are facing the browser cache refresh issue.

We are using the angular 8, .net core edition of the aspnetzero framework and post deployment of a fresh build on our server, the end users need to refresh their browser to get the latest copy.

It seems changing the index.html file and setting 'no-cache' is a wrong option so has anyone figured out how can we achieve this and we need not ask the user to refresh his/ her browser everytime a fresh build is pushed.

There are quite a few solutions like re-hashing but we are not sure if that should be implemented.

We soon are going to go live and this should not happen on production server so we require a quick solution.

Showing 21 to 30 of 46 entries