I am working on application WPF in Prism framework. Now I need two things . 1. a custom dialog box to show various custom messages and 2. Save and update and get Application Settings from a file stored in system by Json .
Now I have created a class which does the Jason related stuffs and have few APIs like get and set and save obj to Json and Json to Obj. Now I need this operations in all ViewModels of my class . I do not want to create an instance of this class in all ViewModels separately.
So , I am looking for some prism supported services which can help in this direction. I have seen this question (What exactly are "WPF services"?) but it is not giving me what I want or may be I am understanding the answers in this question.
I would be obliged if someone gives me a hints in this regards