Activities of "thanhlg"

Hi, I did it this way and I was able to receive notifications through SignalR. However, I encountered another issue when using the event bus to send events and handle SignalR when receiving to return notifications. Below is my code:

I want to send notifications only to the user who triggered the event instead of sending them to everyone. I have referred to the documentation here and followed the guidelines, but I'm not receiving any return notifications from SignalR anymore. Currently, CurrentUser is returning null.

What did I do wrong?

hi

You can consider adding a component to the layout/global page to use Singalr. in this way, you can globally listen to the event and show some notifications.

https://abp.io/docs/latest/framework/ui/blazor/layout-hooks

Can you please give an example of this, with a return notification using SignalR and Distributed event bus?

  • ABP Framework version: v8.3.0
  • UI Type: Blazor Web App
  • Database System: EF Core (PostgreSQL)

Hi Support Team,

I'm using the Module Template and Application Template (Blazor Web App).

I'm using the Distributed Event Bus with RabbitMQ to send communication between the IN and GL modules. Afterward, I build the IN and GL modules into packages and install them into the Main (Blazor Web App).

Currently, I want to integrate SignalR to receive notifications when the event bus processing is completed and display a notification on the user interface to indicate that the processing is done. I need the notification (https://abp.io/docs/latest/framework/ui/blazor/notification) to appear on the user's screen, regardless of which screen they are currently viewing, not just on the screen where the event was initiated.

For example, if the event is triggered on screen A, but while it is processing I navigate to screen B, I want the notification to show up on screen B if it is completed at that time. How should I do it?

I look forward to your response. Thanks!

Sorry, i didn't get it, could you share some GIF?

It automatically redirects back to the homepage like this.

  • ABP Framework version: v8.2.0
  • UI Type: Blazor Web App
  • Database System: EF Core (PostgreSQL)

Hi Support Team,

  1. Issue with language switching: Sometimes it works well, but other times it doesn't. How can I control this?

For example, the website is in English, and I switch to Vietnamese. Instead of switching immediately, it reloads and still stays in English. I have to log out, log back in, and switch again for it to change to Vietnamese.

  1. Blazor Web App page loading speed: After logging in, when the menu is displayed, I select a screen to open, but it redirects to the homepage instead of opening the screen. I have to click again to access the desired screen.

Looking forward to your response soon. Thanks

hi @liangshiwei

I am using the event bus to sync data from my Person table to AbpUser and vice versa to ensure that login is only allowed if the email of the person exists in the Person table. However, properties like Email and UserName of IdentityUser are protected internal set, so I cannot update them when there are changes in the Person table. What should I do now?

hi I can't find where to change this icon in Blazor Web App

thanks @liangshiwei

Is there a way to always enable Microsoft login instead of having to log in first and then enable and configure the client ID and secret?

As for the issue of logging in with an external provider from this page instead of having to go to the Account/Login page, is there a way to do that?

it will automatically redirect

Sorry for not being clear. I know it redirects to https://localhost:44321/Account/Login and then I can click the login with Microsoft button.

But is there a way to login with Microsoft directly from https://localhost:44321/?

As for the issue of logging in with an external provider from this page instead of having to go to the Account/Login page, is there a way to do that?

Showing 1 to 10 of 54 entries
Made with ❤️ on ABP v9.0.0-preview. Updated on October 07, 2024, 08:52