Base solution for your next web application

Activities of "mahendra"

I have following configuration setup at the Backend API file appsettings.Production.json

"App": { "ServerRootAddress": "http://healic-prodserver-env.us-east-1.elasticbeanstalk.com/", "ClientRootAddress": "http://healic-prodclient-env.s3-website-us-east-1.amazonaws.com/", "CorsOrigins": "http://healic-prodclient-env.s3-website-us-east-1.amazonaws.com/" }

Please advise....

Regards, Mahendra

Hello Expert,

I deploy the angular application on AWS S3. When I growse the URL am getting the following error...Any idea what may have went wrong...

Hi @mahendra

The easiest solution comes to my mind is, you can define a user for such Tenants (for example admin user which exist for all tenants) and automatically login admin user of Tenant D (or such tenants). In that case, all operations will work as expected.

Otherwise, you will face problems like app will try to set CreationUserId, LastModifierUserId of many entities and it will fail.

We have a self registration mechanism for tenant registration. Saying so, when to create such a user? I can't create such user during tenant registration. Because once tenant is registered, then after that tenant purchsa an additional feature (scan and pay - Scan the bar code at the table in the resturant). Once user purchase this feature then only I need such a requirement.

On a second thought, can i use user impersonation by login into host account and then impesonating the admin user of the tenant?

Regards, Mahendra

Hello Expert,

We are using multitenant core+angular verion of ASPNetZero. We have few tenants and the application running successfully.

We have a new requirement now. we need to know whether it is possible even or not. ok so here is the requirement.

Let's say we have a tenant called A, B, C and D. When we browse the page with (tenant) subdomain as A, B or C it should run as it is, i.e. login page should be visible. But when I browse the page with (tenant) subdomain as D it should run the complete site without asking for login. It should pull all the tenant data (i.e. D tenant) without login.

In short one of the tenant should run anonymously.

If you can throw some light on the above requirement possibility, I can try walking that path.

Thanks & Regards, Mahendra

Answer

Thanks...it worked....

Question

Hello Expert,

After enabling the Redis Cache (Azure Redis Cache), when we export any data we are getting the below error... Please avise...

Regards, Mahendra

Question

Prerequisites

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

  • What is your product version?
  • What is your product type (Angular or MVC)?
  • What is product framework type (.net framework or .net core)?

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

Hi Expert,

In case we have multiple instance of the application what all we need to take care. Two I know are

  1. Background Job (For this We can enable background job for one instance and disable for others)
  2. Cache (For this we can use distributed caching such as Redis)

Apart from the above two what's other that we should take care and how?

Regards, Mahendra

Answer

You can see the time that it takes in the below screen shot

Question

Prerequisites

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

  • What is your product version? 10.3
  • What is your product type (Angular or MVC)?
  • What is product framework type (.net framework or .net core)?

If issue related with ABP Framework

  • What is ABP Framework version? 6.3.1

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

I have just configured Azure Redis Cache. I noticed that the login time increased trmendously... after debugging I found out that the call to AbpUserConfiguration/GetAll is taking too much of time...Approximately 3 miutes....

I am using Abp Version 6.3.1 and ASPNetZero Version 10.3...

Please advise some solution....

Many thanks. Mahendra

Hi ismcagdas,

Sorry, am slightly confused..... In azure you have two scaling mode: Manual and Auto. So if I have setup Auto scaling mode and then on what basis I enable the background job....

Could you please give me an example...

Regards, Mahendra

Showing 11 to 20 of 203 entries