Skip to content

Instantly share code, notes, and snippets.

@nigel-sampson
Created May 7, 2013 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nigel-sampson/5536332 to your computer and use it in GitHub Desktop.
Save nigel-sampson/5536332 to your computer and use it in GitHub Desktop.
WP8 Local Machine Weirdness
var projects = await GetProjectsAsync();
await BlobCache.LocalMachine.InsertObject("projects", projects);
var test = await BlobCache.LocalMachine.GetOrCreateObject("projects", () => new List<Project>());
if (projects.Count != test.Count)
throw new InvalidOperationException("Hmmm");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment