Resource Handling - webview2/EdgeSharp GitHub Wiki
Using StartUrl, resource files (html, css, javasctipt etc) can be loaded in 3 different ways:
- real website (e.g
https://bing.com
) - full filepath (e.g
C:\app\index.html
) - local resource (e.g
local://app/inAdex.html
) - OWIN/ASP.NET Core resource (e.g
https://edgesharp.test/
)
For real websites and a full filepath, no configuration of resource handlers required. Local resources will require either mapping a host to a folder or a resource handler. OWIN/ASP.NET Core resource handling will require an OWIN Startup.