maui-samples icon indicating copy to clipboard operation
maui-samples copied to clipboard

[Request] App Lifecycle Events with MVVM and/or SignalR connections

Open pocki opened this issue 3 years ago • 0 comments

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

pocki avatar Sep 20 '22 15:09 pocki