I have a singleton WCF service hosted in IIS. I want to implement a store for persisting state for the service. I am writing my data to XML file.
Can you please tell me what is the recommended way of doing this? What events I can listen to while my WCF service unloads and reloads.