maui-samples
maui-samples copied to clipboard
[Request] App Lifecycle Events with MVVM and/or SignalR connections
I am searching for an example/best practice of handling application lifecycle events in ViewModels to control for example SignalR connections.
I want to do something like close SignalR connection on Stopped Event and reconnect on Resumed Event.
My usecase is a Dashboard App with some different ContentViews each showing values from different areas. Each area has it's own View, ViewModel, Model