Activities of "vishalnikam"

  • ABP Framework version: v4.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

There is requirment that as ABP platform admin, he should be able to get the details of all the tenant admin. Our understanding is that need to create custom screen to display below data but please help us how we can get this through services on ABP platform as we have seperate DB's for tenant management and need below details

  1. Role Name
  2. Owner Name(First + Last Name)
  3. Last Login
  4. Dormant Account Status(Logic configurable e.g user not logged in for >45 days)
  5. Active Status(Deleted Flag = N)

Hi,

there is no issue log in browser either. as said we are running this invoice service in multiple container so one only get the hub notification to the user connetced to the same container and rest users connected to other container not getting notification. this should be solve by Redis backplane but given solution is not working.

Hi,

There is no issue found in logs related to SignalR but it is not working as expected . 1 ECS container message is not getting to other container.

Hi,

I tried with given approach but no success. still facing same issue. SingalR pub/sub is working fine with single ECS container but not with multiple.

public override void PreConfigureServices(ServiceConfigurationContext context)
{
    var hostingEnvironment = context.Services.GetHostingEnvironment();

    var configuration = context.Services.GetConfiguration();

    if (!hostingEnvironment.IsDevelopment())
    {
        var redis = configuration["Redis:Configuration"];

        context.Services.PreConfigure<ISignalRServerBuilder>(builder =>
        {
            builder.AddStackExchangeRedis(redis, options =>
            {
                options.Configuration.ChannelPrefix = "InvoiceManagement";
            });
        });

    }
}

Yes, i did. here is sample code. i dont get option for AddStackExchangeRedis

public override void PreConfigureServices(ServiceConfigurationContext context) { var hostingEnvironment = context.Services.GetHostingEnvironment();

var configuration = context.Services.GetConfiguration();

if (!hostingEnvironment.IsDevelopment())
{
    context.Services.PreConfigure&lt;ISignalRServerBuilder&gt;(builder =>
    {
        builder.Services.AddStackExchangeRedisCache(options =>
        {
            options.Configuration = configuration["Redis:Configuration"];
        });
    });
}

}

also, do you mein i need to add services.AddSignalR().AddStackExchangeRedisCache("<your_Redis_connection_string>"); in configservice as well ?

Yes, we can create Role and assign persmissions and users to Roles but how can i assign my suppliers or buyers to the user, who are in Requestor or Approver Role through ABP idnenity module. Please advise.

Hi,

As per Microsoft document, we need to add services.AddSignalR().AddStackExchangeRedis("<your_Redis_connection_string>"); in configservices but as per ABP documement, it says that You don't need to use the services.AddSignalR() and the app.UseEndpoints(...), it's done by the AbpAspNetCoreSignalRModule. we are using AbpAspNetCoreSignalRModule module

https://docs.abp.io/en/abp/latest/SignalR-Integration

i didnt try steps given in microsoft documnet as it required install Microsoft.AspNetCore.SignalR.StackExchangeRedis and add config setp services.AddSignalR().AddStackExchangeRedis("<your_Redis_connection_string>");

But i tried your suggeted preconfig in my appservice module but it didnt worked in AWS ECS. please find below current config and let me know, if anything else is required

public override void PreConfigureServices(ServiceConfigurationContext context)
{
    var hostingEnvironment = context.Services.GetHostingEnvironment();

    var configuration = context.Services.GetConfiguration();

    if (!hostingEnvironment.IsDevelopment())
    {
        context.Services.PreConfigure<ISignalRServerBuilder>(builder =>
        {
            builder.Services.AddStackExchangeRedisCache(options =>
            {
                options.Configuration = configuration["Redis:Configuration"];
            });
        });
    }
  }

Ok. we have requirmnet where Requestor and Approver roles need to be created. Users, who are in these role, will raise request or approve for there specific supplier or buyer. we can create Requestor and Approver roles and can map users to these roles through ABP identity module. but how roles can be mapped to Supplier or group of buyers ? can this achive through ABP identity module ? Please check the Roles hierarchy

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

We have AWS hosting and the SingleR AbpHub is hosted in multiple ECS containers. The SignalR Redis backplane uses the pub/sub feature to forward messages to other servers. could you please help on how to enble radis backplane in ABP SignalR.

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