Hello thanhlg 🙋♂️,
You can use this article for a case-sensitive search. See: https://abp.io/community/articles/caseinsensitive-search-in-abp-basedpostgresql-application-c9kb05dc
I can say that searching by foreign key fields is completely specific to your business. Therefore, you need to manually update the templates of AppService, Repository, and UI side.
How to do this is explained in this document.
Hi berkansasmaz,
Thanks for the helpful article on case-insensitive search with EF.Functions.ILike(). It works for case-insensitivity, but we're specifically looking for a solution for accent-insensitive search (e.g., searching "chao" should match "chào" or "cháo").
Is there a way to handle accent-insensitive search purely within the ABP Framework (possibly through a custom string comparison method or a helper function) without relying on PostgreSQL's unaccent()?
We'd like to avoid extending PostgreSQL and instead keep the logic within the application code.
hi
Yes. This is how webapp initital
First blazor server. Then download wasm file in the background. Next time refresh page will switch to wasm
This process will take a few seconds to initialize wasm.
Thanks.
Thanks for the info.
To improve UX (some users think it's a bug), I want to show a loading screen and hide it only when all resources are fully loaded and the app is ready to use.
Is there a way in ABP to detect that? Can you provide an example?
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 callGetConnectionIdsByKey
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
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?