Activities of "pablo@ccalp.net"

  • ABP Framework version: v7.4.x
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

I need to use additional functionality of the Azure BlobContainerClient in my project, how can I access it directly without registering another BlobServiceClient in the DI container?

  • ABP Framework version: v7.4.x
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

I'm using a custom error handler implemented per the documentation, and it is working fine, but I'm getting console errors after it handles the errors.

-- In my error handler, I am marking the error as handled and only re-throwing it if not handled:

-- When debugging it I can see that the framework is still wanting to handle the error, but the error is null

<br> -- When it finally gets to the point that it wants to execute, it fails because it can't access the status of the error

Please let me know if this is a bug or if I'm doing something wrong. Also I'm using the AbpAuthorizationException to throw errors but the message is not being received at the client, it just arrives as a 403 I was expecting to see the message I was trying to send back. Thanks.

  • ABP Framework version: v7.4.x
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

I'm deploying ABP to Azure app services, I'm worried that the messages I'm sending using the service bus end up in the staging slot and are processed by an outdated version of my application. I can see in application insights that both my production and staging slots are connected to the same topic. Does the framework already control that or do I have to somehow disable the service bus on the staging slot?

I was having the same issue with Hangfire, but I solved it this way:

    Configure&lt;AbpBackgroundJobOptions&gt;(options =>
    {
        options.IsJobExecutionEnabled = !hostingEnvironment.IsStaging();
    });

Thanks.

  • ABP Framework version: v7.4.x
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

I have created my own custom configuration service and added it to the app.module as a provider:

{
  provide: APP_INITIALIZER,
  useFactory: configurationFactory,
  deps: [ConfigurationService, ConfigStateService],
  multi: true,
},

There are configuration properties that I need before authentication and after authentication, how can I call my configuration service after the user has authenticated to refresh the configuration properties?

I see this being done already by the abp framework, how can I achieve the same?

Thanks.

  • ABP Framework version: v7.4.0
  • UI Type: Angular
  • Database System: EF Core (SQL Serve)

I've followed some documents online and looked at the source code for how to replace the PermissionDataSeedContributor but when running the DbMigrator I end up with twice the permissions, one set for the default "admin" role and another set for my custom role.

Here's my code:

using CompuCare.Enums; using CompuCare.Permissions; using Microsoft.AspNetCore.Identity; using System.Collections.Generic; using System.Data; using System.Linq; using System.Threading.Tasks; using Volo.Abp.Authorization.Permissions; using Volo.Abp.Data; using Volo.Abp.DependencyInjection; using Volo.Abp.Domain.Repositories; using Volo.Abp.Identity; using Volo.Abp.MultiTenancy; using Volo.Abp.PermissionManagement; using Volo.Abp.Uow;

namespace CompuCare.DataSeed;

[Dependency(ReplaceServices = true)] [ExposeServices(typeof(PermissionDataSeedContributor), typeof(IDataSeedContributor))] public class PermissionDataSeedContributor : IDataSeedContributor, ITransientDependency {

private readonly ICurrentTenant _currentTenant; private readonly IPermissionDefinitionManager _permissionDefinitionManager; private readonly IPermissionDataSeeder _permissionDataSeeder;

public PermissionDataSeedContributor( ICurrentTenant currentTenant, IPermissionDefinitionManager permissionDefinitionManager, IPermissionDataSeeder permissionDataSeeder) { _currentTenant = currentTenant; _permissionDefinitionManager = permissionDefinitionManager; _permissionDataSeeder = permissionDataSeeder; }

public async Task SeedAsync(DataSeedContext context) { await PopulateAbpPermissionsAsync(context); }

private async Task PopulateAbpPermissionsAsync(DataSeedContext context) { var multiTenancySide = _currentTenant.GetMultiTenancySide(); var providerKey = multiTenancySide == MultiTenancySides.Host ? "admin" : "Administrators"; var permissionNames = (await _permissionDefinitionManager.GetPermissionsAsync()) .Where(p => p.MultiTenancySide.HasFlag(multiTenancySide)) .Where(p => !p.Providers.Any() || p.Providers.Contains(RolePermissionValueProvider.ProviderName)) .Select(p => p.Name) .ToArray();

await _permissionDataSeeder.SeedAsync( RolePermissionValueProvider.ProviderName, providerKey, permissionNames, context?.TenantId ); }

}

  • ABP Framework version: v7.4.4
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

How can I control/prevent logging events, especially the hangfire/stats, I'm getting thousands of posts when the dashboard is open.

  • ABP Framework version: v7.4.0
  • UI Type: Angula
  • Database System: EF Core (SQL Server)

After verifying a user e mail the login link is taking me to the swagger page instead of the login page, how do I fix that?

ABP Framework version: v7.4.0

  • UI Type: Angular
  • Database System: EF Core (SQL Server)

Hello, I have extended the "IdentityUser" and added some properties to it, I don't want those properties to show up in the UI, but I want to use the built-in API to get, create, and update the entity. I used "MapEfCoreProperty" to create columns in the table. I have built custom forms in the UI (angular) to view, create, and update the entity. Now, when I go to "My Account" and try to update my info I get a validation error that says that some of the properties are required, why is that?

  • ABP Framework version: v7.4.x
  • UI Type: Angular
  • Database System: EF Core SQL Server

I have a standalone hangfire server instance and would like to be able to use the openiddict authentication from the main api to secure its dashboard. So that when I go to: https://jobs.domain.com/hangfire I will be redirected to the auth server and then brought back to the hangfire dashboard. Please advice on how to achieve this and if any setup is necessary.

Thanks you

  • ABP Framework version: v7.4.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

Hello, Is the following scenario possible to accomplish within the framework? How? We are implementing a Database Per Tenant multitenancy architecture. Our customers have multiple facilities and they need to create reports across those facilities, so we need to do cross-database queries, we are hosting in Azure so I don't want to do cross-database queries but be able to host the tenant facilities in a single database so that it is easier to query across the facility tenants.

Is it possible to have a multiple hybrid approach? for example:

Customer-A Customer-A-DB (SQL Database) Facility-a (TenantId: xxxx-xxxxx-xxxx) Facility-b (TenantId: xxxx-xxxxx-xxxx) Facility-c (TenantId: xxxx-xxxxx-xxxx)

Customer-B Customer-B-DB (SQL Database) Facility-a (TenantId: xxxx-xxxxx-xxxx) Facility-b (TenantId: xxxx-xxxxx-xxxx) Facility-c (TenantId: xxxx-xxxxx-xxxx)

Customer-C Customer-C-DB (SQL Database) Facility-a (TenantId: xxxx-xxxxx-xxxx) Facility-b (TenantId: xxxx-xxxxx-xxxx) Facility-c (TenantId: xxxx-xxxxx-xxxx)

TIA.

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