feat: Add IToastService, IMesssageService, IDialogService to a new library Microsoft.FluentUI.AspNetCore.Components.Abstractions #1484
Labels
status:needs-investigation
Needs additional investigation
馃檵 Feature Request
I would like to use the following services: IToastService, IMesssageService, IDialogService without having to have a reference to the full Microsoft.FluentUI.AspNetCore.Components package, instead I would like to use something like Microsoft.FluentUI.AspNetCore.Components.Abstractions.
This would allows me to e.g. inject these services view models that are not in the same project as my Blazor UI code.
馃拋 Possible Solution
Microsoft.FluentUI.AspNetCore.Components package is separated into
馃敠 Context
If doing MVVM together with fluent-ui blazor, the simplest workaround is to put all view models inside razor.class lib or wherever the UI blazor components exists, however idealy I would prefer a finer level on granularity and separation between my view models and UI code.
The text was updated successfully, but these errors were encountered: