Distributing Universal Apps
In Chapter 13, we dove into the monetization of your apps. We discussed, among other things, approaches to selling content through your app, and even selling your apps directly to the user. One part of the discussion was on enabling the app commerce functionality through the use of the CurrentAppSimulator class. We used this class because the primary class for app-based commerce, CurrentApp, connects directly to the Windows Store.
Using CurrentAppSimulator requires setting up an XML file to represent the state of the app in the store. You can use it to test out the behavior of your app based on the user’s ...