Click here to Skip to main content
15,886,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
USER 1 and USER 2 are on the different machines and using the same desktop WPF MVVM application.

Lets say if USER-2 select an option from combo-box and that option is selected on USER-2 machine at the same time on other side USER-1 perform a delete operation of that record, then on USER-2 machine immediately combo box control get refreshed and that selected option in combo-box should show as empty because USER-1 deleted that record.

what should i do to achieve this ?

i have tried to store the database table data in cache and when USER-1 delete the record then cache refresh call made.
USER-2 still needs to logout from the application and the login to see the updated records.
But i want that this functionality should work in real time.
USER-2 no longer needs to logout and then login to the application.

What I have tried:

i have tried to store the database table data in cache and when USER-1 delete the record then cache refresh call made.
USER-2 still needs to logout from the application and the login to see the updated records.
But i want that this functionality should work in real time.
USER-2 no longer needs to logout and then login to the application.
Posted
Updated 29-Jul-18 11:40am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900