I have an uwp app, which can have multiple instances Now if I change something on one instance, other instance need to get the update right away.
We have tried to use Out-Proc AppSerivce but its doesn't seems persistent (AppService connection is killed by Platform frequently).
What could be possible options to achieve that.
Currently, there is no API that designed for such scenario. A workaround is that you could save these updated values in a local file (if the data is large and complicated, convert the data into Json format will be better). And then use a timer to check that file. When the updated value is saved in the file in one instance, other instances could check value and update themself.
Here are the steps which I made a simple sample:
Here are the codes that I made.
MainPage.Xaml:
MainPage.CS: