Starts in:
0 DAY
4 HRS
7 MIN
5 SEC
Starts in:
0 D
4 H
7 M
5 S

Activities of "christianvpernix"

Hi,

The issue is -

  • How to run SQL across both databases to return the entity with domain properties? The entity exists in a tenanted database but the associated navigation property is stored in a separate database

<br> Current behavior -

  • When fetching the domain entity under the entities tenant context, the entity is returned but the navigation properties of that entity are null/empty

<br> Work around -

  • The current work around is to change tenant context and then fetch the associated navigation properties from the correct database, but this has significant performance impacts and is not best practice.

<br> The architecture we are structuring the solution on can be summarized as below:

The domain entity exists in the tenant databases, but the navigation property is stored in the primary database. The primary database connection string is tied to the null/default tenant, and each tenant database connection string is tied to a tenant id (non-null).

Please let me know if any of this explanation is unclear and I will clarify.

<br> Thanks, Christian

ABP Framework version: v3.0.5 UI type: MVC Tiered (MVC) or Identity Server Seperated (Angular): no Exception message and stack trace: NA Steps to reproduce the issue: NA

Hi,

We are building an ABP application to serve as the backend and a web portal front end for a multi-tenant solution.

We are also building an iOS mobile app that will utilise the APIs that ABP generates to interact with the backend. The problem we are facing:

  • Identifying how to login a user via the mobile app using the ABP login API without prior knowledge of what tenant that user belongs to.

<br> Ideally what we would like is the ability to identify which tenant the user belongs to driven by their email address. The questions we have are:

  • Is this functionality possible out of the box?
  • Is there another way to achieve this functionality that we are unaware of?
  • Is there a way to custom build a tenant resolver to handle this requirement?

<br> Please let me know what other information you need.

Thanks, Christian

  • ABP Framework version: v3.0.5
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace: NA
  • Steps to reproduce the issue: NA
Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06