windows 8 - How to change url dynamically after packaging Metro apps? -


hi have created package metro application.here while developing app have given url static,but need change url dynamically whenever requirement changes.so should do?can me.

thank you.

if requirements changing, might releasing new version of application anyways, might make sense update app package manually each time url changes , re-release it. simplest solution if url going change infrequently. need handle deprecating old url in instance or @ least gracefully handling when old url shut down users have not upgraded latest version still don't have horrid experience.

if not viable option, gets bit messier here on. way change stored url have sort of secondary service or authority on current url is. app 1 of following (or combination):

  1. query url authority current url before making requests.
  2. attempt make request current stored url, if fails, query url authority new url , store url.

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -