c# - Convert Windows store javascript app into website -


i have simple windows store javascript app, , having problems writing , playback coded ui tests. Аnd had idea: convert win store js app website , test in of plurality of web-frameworks.

unfortunately, find information how convert site win store app, , nothing on idea.

how can convert windows store javascript app website?? grateful information in matter.

how can convert windows store javascript app website?? grateful information in matter.

it not documented, it's not difficult convert uwp(js) app web app. need following work on app:

  1. copy html,css , javascript(including js libraries) , related assets files newly created web app folder.
  2. as there no application lifecycle in web app. need remove/modify lifecycle events in project. (ex: windows.ui.webui.webuiapplication.onactivated event or winjs.application.onactivated event if using winjs).
  3. windows runtime apis not available in web app. avoid errors, necessary remove or comment out related codes calls winrt api (mostly apis start windows or msapp). (ex:windows.storage.storagefile.getfilefrompathasyncwindows.storage.storagefile.getfilefrompathasync).
  4. remove ms-appx:///, ms-appdata:/// , ms-app-web:///, replace them normal relative path ../../assets/.
  5. if using <x-ms-webview>, remove or replace iframe.

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -