Reputation: 2814
I have an app which uses a xml file as database. This file is created in the project as you see:
I want to keep this file updated by the following procedure in the splash screen:
procedure
The application will be deployed to the clients via Windows Store.
If you think about the restrictions, limitations, policies and possibilities, can I keep the deployed app's database files updated as described above? If not how can I keep my app's data updated then?
Upvotes: 0
Views: 256
Reputation: 5535
Few things:
1) It will be more clean to do this by associating a version
to the database. local version
can be stored in the application data as local state or setting. remote version
can be queried using a web api.
2) do you want user to know about this? can user force update of the database? accordingly, knobs may need to be exposed in the UI.
3) if the size of the file is significant, may have to do the download using background transfer.
steps will look something like this:
Upvotes: 1