Basically I want to display some html/js content in a WebView browser within my Windows Store C# app. I have been trying unsuccessfully to do this – I can get the local web page to display in a WebView – but that’s it.
How do you do the following:
-
Reference
JSandCSSfiles within thehtmlfile loaded into theWebView– can relative urls be used in thehtmlfile to theJSandCSSones (e.g.scripts/eg.js) or doesms-appx-web:///have to be used (e.g.ms-appx-web:///ScriptrHTML/scripts/eg.js)? -
What’s the best way to include
html,JSandCSSresources into your project and guarantee they will be exported alongside the final app?
I couldn’t find any tutorials on this, if you can I would love to see it!
Thanks in advance
1 Answer