Save List created in WCF service so as to view it when the service restarts

BinoGoago

New Member
I have a WCF service in which I want to save an XML list which created while the service is running to also be saved once the service closes i.e. view it on restarting the service. Items are added to the list when HTTP POST is called. However when the HTTP GET method in the program that returns items of the list is called after restarting the service, it does not show the items of the list, since they are not saved. My questions related to this problem are:1) How can the List be saved for future reference?2) Is there some mechanism to save this list everytime the service closes, so that it can be viewed on restarting the service?Just one more pointer:I do not wish to save the list items as xml files on my local machine !
 
Back
Top