Starts in:
1 DAY
22 HRS
39 MIN
32 SEC
Starts in:
1 D
22 H
39 M
32 S

Activities of "thanhlg"

I have resolved the issue in another way. Thank you for your support.🌻

hi

Can you try to get the user from QaUiConnectionStore.GetConnectionIdsByKey(eventData.UserId.ToString())?

Inject QaUiConnectionStore service and call GetConnectionIdsByKey

Sorry for the late reply. This approach still isn’t working. Today, I tried debugging in the IN Module (Module Template), and I was able to get event.UserId. But after building the IN Module into a package and installing it in the Main app (Blazor Web App), eventData.UserId comes back as null when I run the event

Could you please check if I'm doing this correctly? It's still not working. :(. Do I need to configure anything else?

Application:

Application.Contracts:

HttpApi:

Blazor.Client/Components:

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?

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

It automatically redirects back to the homepage like this.

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/?

Showing 1 to 10 of 48 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06