Hi, My application was originally on ABP 7.2. Later, we migrated it to 8.2, and now we need to upgrade it to 10.x. For that, we are first upgrading to 9.3, and then we plan to move to 10.x.
I am upgrading each solution individually. I started with the AuthServer and migrated it to 9.3. However, when I try to run the application after the migration, I am getting the below error.
//Stack Trace
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.IsConventionalRegistrationDisabled(Type type)
at Volo.Abp.DependencyInjection.DefaultConventionalRegistrar.AddType(IServiceCollection services, Type type)
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddTypes(IServiceCollection services, Type[] types)
at Volo.Abp.DependencyInjection.ConventionalRegistrarBase.AddAssembly(IServiceCollection services, Assembly assembly)
at Microsoft.Extensions.DependencyInjection.ServiceCollectionConventionalRegistrationExtensions.AddAssembly(IServiceCollection services, Assembly assembly)
at Volo.Abp.AbpApplicationBase.<ConfigureServicesAsync>d__29.MoveNext()
at Volo.Abp.AbpApplicationFactory.<CreateAsync>d__21.MoveNext() at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.<AddApplicationAsync>d__21.MoveNext()
at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.<AddApplicationAsync>d__0`1.MoveNext()
at G1.health.AuthServer.Program.
Currently we writing automation scripts for that we need bearer token, can we get it from postman so that i can replicate the same in Jmeter
I followed the documentation below to enable MFA for a specific tenant: https://abp.io/docs/commercial/8.1/modules/identity/two-factor-authentication
However, even after enabling all the options mentioned in the documentation, the authenticator options are still not visible for the tenant user.
Currently we hold team plan + two additional developer license in ABP . we could like to downgrade our license to team plan + one developer seat . can you pls change existing license . so that we can proceed with the payment .
Service B from the Service A. Following the documentation for Synchronous Interservice Communication, I implemented the integration. However, when attempting to call the API, I encountered the following exceptionVolo.Abp.Http.Client.AbpRemoteCallException: 'Unsupported Media Type'
I need to create a custom filter to filter my entity based on BranchId. The BranchId will be received as a List<long> from the request headers or parameters. Here's the approach I followed:
Created IBranchEntity Interface:
Domain.Shared folder.BranchId property, which I inherited in the relevant entity.Defined IBranchContext Interface:
Entity Framework Filtering Logic:
Service Registration:
IBranchContext in the HostModule.cs under the ConfigureServices method as follows:
context.Services.AddHttpContextAccessor();
context.Services.AddScoped<IBranchContext, BranchContext>();
Database Context Changes:
ClinicServiceDbContext constructor to accept the IBranchContext.
private readonly IBranchContext _branchContext;
public ClinicServiceDbContext(
DbContextOptions<ClinicServiceDbContext> options,
IBranchContext branchContext
) : base(options)
{
_branchContext = branchContext;
}
protected override void OnModelCreating(ModelBuilder builder)
{
base.OnModelCreating(builder);
builder.ConfigureClinicService();
builder.ConfigureBranchFilterForEntities(_branchContext);
}
After implementing the above, the filter is correctly identifying entities with the BranchFilter when the application is initially loaded. However, it is not being triggered for subsequent requests.