Activities of "balessi75"

  • ABP Framework version: v4.4.0 (Commercial)
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: N/A
  • Steps to reproduce the issue: N/A

Hello, We are new to ABP Commercial and have the following requirements with regards to multi-tenancy. Any information on whether these requirements can be accommodated by the framework would be appreciated. We have read through quite a few resources online, but haven't seen anyone implement our exact scenario. Any implementation details/resources that you can direct me too would be much appreciated.

Requirements:

  • Separate DB per tenant needed
  • Host related tables only in the default host database and not in each tenant DB
  • Each tenant needs to two separate databases accessible within one module.
    • Does ABP commercial support this configuration? We noticed that the tenant management UI only allows for one separate connection string to be defined per tenant.
    • How would  we implement the ability for a tenant to be able to query between two tenant specific databases specific to them?

Thank you in advance. balessi75

  • ABP Framework version: v4.4.2
  • UI type: Blazor Server
  • DB provider: EF Cor
  • Tiered (MVC) or Identity Server Separated (Angular):no

We just created our first abp commercial app using abp suite (Blazor Server/EF Core). We introdoced no code to the templated application. After running the DB migrations, we were able to sucessfully run the application locally through Visual Studio - everything woked as expected.

We then published the app to Azure Web Services through a Visual Studio right click and publish. After launching the app hosted in azure, we found UI issues that I hope someone can help me with. When logging in as the default admin, the user avatar image and user name is missing on the menu on the upper right of the application. Additionally, the Saas and Administrationmenu items on the left nav menu are not visible. When clicking into any item under the user drop down on the upper right of the app, the Saas and Administration items then apper on the left nav menu. But, when we click on a Saas or Administration item we receive an abp message "Authorization failed! Given policy has not granted.".

The same DB was used when running locally and when running in azure.

Any help would be greatly appreciated.

For anyone running into this issue... the following link provided the resolution. Websockets in your Azure App Service need to be turned on

https://stackoverflow.com/questions/47652865/azure-webapps-404-error

  • ABP Framework version: 4.4.3
  • UI type: Blazor Server
  • DB provider: EF Core

We've created a solution using abp suite and chose to separate host and tenant db's. Each tenant is configured to have its own separate database. Everything is working as expected using the base abp modules when logging in and out of the host and tenant databases.

The problem we are running into is that, when we create a new entity, the entity is always being accessed from the host database, even when we are logged into a specific tenant database.

There are two database contexts that were created from the project template (AppNameDbContext and AppNameTenantDbContext). Our entity’s custom repository is referencing the TenantDbContext as follows:

public class EfCorePayPeriodRepository : EfCoreRepository<TimepieceTenantDbContext, PayPeriod, int>, IPayPeriodRepository{...}

We also made sure to include the following in the ConfigureServices method of the EnittyFrameworkCore Module:

context.Services.AddAbpDbContext<TimepieceTenantDbContext>(options => { options.AddDefaultRepositories(includeAllEntities: true); options.AddRepository<PayPeriod, EfCorePayPeriodRepository>(); });

The DbSet and Model building was also done in the TenantDbContext.

When using the repository, however, the framework always attempts to access the host database instead of the tenant database. Is there something we are missing with regards to entities that should only be created and accessed from the tenant database?

Guidance is much appreciated. Thanks.

and did you implement the IMultiTenant interface for your new entities. https://docs.abp.io/en/abp/latest/Multi-Tenancy#imultitenant

Thank you albert. Implementing IMultiTenant resolved the issue. We had thought that since every tenant will have it's own separate tenant database, a TenantId column was not needed and therefore IMultiTenant would not need to be implemented.

Abp Commercial, Blazor Server, v 4.4.3, EFC

How can the Entity Action Button in the Blazorize grid be custom styled?

Also, the Entity Action button in Blazor Server does not show a single click action button when there is only one action item defied. With one action item, a drop down is still rendered requiring two clicks. Is there a workaround for this issue?

  • ABP Framework version: v4.4.3
  • UI type: Blazor Server
  • DB provider: EF Core

We see examples of rendering a grid using the approach of <DataGrid ....> <DataGridColumns...> <DataGridColumn...> where each column's definition is defined in the .razor file markup. We also see examples of using <AbpExtensibleDataGrid...> where all of the grids column specifications are defined in the razor.cs code behind file in C#.

Which approach is generally recommended and under what senario would you use one approach or the other?

Thanks as always!

Hi, We are using ABP version 4.4.3, Blazor Server, EF Core

Does ABP provide the ability to setup and require email and/or text verification prior to self-registration? We are having difficulty finding ABP documentation on this. We did find this community article https://community.abp.io/articles/setup-email-confirmation-on-user-registration-q0vgxang But much of it appears to not be applicable to Blazor Server.

Any guidance would be much appreciated. Thanks.

Hi Spospisil, I had ran into the exact same problem, but was forced to implement IMultiTenancy even with separate databases for each tenant. I am using version 4.4.3 though.

Are you still running into this issue?

Hi, This setting almost satisfies our requirements. I'm assuming this setting applies to both Registering and Logging In, correct?. What we actually need is for the system to always require Email or Phone verification in order to register, and then have these settings to be able to be turned on and off for just signing in.

Any guidance as to how to accomplish that would be greatly appreciated.

Showing 1 to 10 of 234 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11