Click here to Skip to main content
12,507,058 members (63,078 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: WinRT
Hello!

I need your help guys and girls :-).
I´m messing around with Win RT to make some apps....well, I like to use the roaming folder to store some textfiles. So, I´ve read that it (the roaming folder) can only be 100kb at all?! this is not much, and some textfiles will be bigger then that? what should I do, or I´m missinformed?

thanks a lot!! :)
greetings
Posted 11-Jan-13 10:51am
Updated 11-Jan-13 10:58am
v2

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Hi

you need to read the value of RoamingStorageQuota to know how much data your application can use see here:

http://msdn.microsoft.com/en-gb/library/windows/apps/windows.storage.applicationdata.roamingstoragequota[^]

var roamingStorageQuota = applicationData.roamingStorageQuota;

Typically it is not much... but it is not intended to store data apart from application settings and things like that. The idea is that if you application runs with the same accounts on different devices it will have the same state, properties etc.

If your application needs to store some data you should consider using Azure (or another cloud service) to store that data, that will remove all the size constraints of the roaming folder.

Valery.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100