Toast messages for all clients and others for specific clients only #242
Unanswered
jurassicjp
asked this question in
Q&A
Replies: 1 comment 1 reply
-
There isn't a built in way to handle this scenario. All toasts go through the single toast service so if that registered as a singleton then all clients will see all messages. You would need a scoped service to achieve per client toasts but there current components can't handle 2 toast services. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
First of all many thanks for your great NuGet.
We have a Blazor server application .Net 7.0 where manly everything is shown on all connected clients (browsers).
So we also have the Toast service as a singleton as each toast should be shown on all clients.
Now my question, how can I show a specific message (Toast( only to the calling client and not to all clients?
Thanks for your help.
Best reagrds
JP
Beta Was this translation helpful? Give feedback.
All reactions