Base solution for your next web application

Activities of "fawad29"

Thanks for your reply.

Yes, I can change the conditions in Angular as well as on the TenantSettingsAppService in the Core project, however, is there a reason for these conditions? If I change the conditions, it will not break something else?

It seems that Tenant are not able to set up Email and SMS authentication if multi tenancy is enabled due to these conditions?

Answer

@ismcagdas, is it correct that we cannot use SMS and Email as two factor for Tenant, when multi tenancy is enabled?

I have enabled Two Factor on the host for SMS, Email, and Google Authenticator, but when I go to Settings page for any tenant, SMS/Email tickboxes do not appear on the client side.

Hi @amasanad

It happens because you use same table to sync data. IEventHandler<EntityCreatedEventData<InsurancePlan>> will always be fired after you create InsurancePlan. It will not check if It is in the tenant db or host db. You may use another db table to sync data on host side (like we did in https://github.com/aspnetboilerplate/aspnetboilerplate/blob/79f4de19f89885c51f65a69d1d7798309a70918e/src/Abp.Zero.Common/Authorization/Users/UserAccountSynchronizer.cs#L20). Or add a new field to your data to check if it is synchronized data or not. If it is synchronized data. Don't do anything. And you will breake the loop.

Hi,

We have a similar requirements as well but not related to the Dashboard. We need to display data from a table that exists in all separate tenant databases to a new page in Host. Is it possible to get data for all tenants if I logged in as host without duplicating data into host database? It is a make or break requirement for us! I am using latest version of aspnet core and angular project.

Thanks ismcagdas,

I need to add CorrelationId on the client side. I have added CorrelationId on the server side so that the first api request received on the server and all subsequent api request from the server side has the same CorrelationId. However, in our system, when user clicks on a menu link, it may generate 10 different api requests from the angular frontend. Because these are different api request from the client side, all will have different correlation id on the server.

Consider a scenario below.

  1. User clicks on a menu link My Customers
  2. It generates two api requests to the server. Lets call them Request A and Request B.
  3. Server receives Request A, adds a Correlation Id (123) to HttpContext.Items. Request A further calls InsertMethod1 and InsertMethod2. Audit stores correct correlation id 123 to all audit entries of Request A.
  4. Meanwhile, Server receives Request B, adds a correlation Id (456) to HttpContext.Items. Adds CorrelationId of 456 to audit.

Both Requests A and B were generated because of one action i.e user clicking on menu My Customers so I need to store same correlation id for both Request A and B. I thought best way would be to intercept the request on the client side and add the same correlation id to header of both Requests. On the server side, I can simply use the header correlation id for audit. Can you suggest how to handle this?

Thanks

Replacing the util.js has fixed the problem.

Thanks for your help.

Hi,

Project sent yesterday via email link.

Thanks Fawad

Hi @ismcagdas,

Yes gulp build works fine. Please see below different variations that I tried.

I have received the same error when I ran npm run publish.

Thanks

Hi @musa.demir,

I have checked and there is only class. Same class is not defined in different namespaces.

I have sent a new email. Could you do a remote session as that would help check issues quickly?

Thanks

Hi,

Is there any update?

Thanks

Hi @musa.demir, Is there any update?

I deleted service-proxies.ts, and recreated it with the command you mentioned, however toJson function was not created. If you want you can do a remote session to find the reason why nswag is not creating toJson method. This has happened on some other classess as well but not all.

Thanks

Showing 1 to 10 of 57 entries