App Settings: ISessionStateService _sessionStateService vs ApplicationDataContainer

May 21, 2015 at 7:38 AM
Hi

Question, what is the major difference in using ISessionStateService in saving state data as to appose to saving App settings. I don't see it being used in the Adventure Works Shopper, but I'm assuming even though its not the ApplicationDataContainer still should be use for App Settings correct?
May 22, 2015 at 12:55 PM
The current code base was developed against the WinRT APIs first and then ported to Universal apps, so it did not really take ApplicationDataContainer into consideration. But in terms of application settings, the sessions state service is meant for storing transient data (i.e. data that is held in memory on the client side that has not been persisted anywhere) that you want to keep around if an app goes through a suspend-terminate-resume cycle. App settings that are more configuration settings that should always be there, so you would use other means such as the ApplicationDataContainer for those.
May 22, 2015 at 3:20 PM
Gotha! Thanks for your reply!