WinForm integration demo of the TiroApp.
To construct this demo integration of a web app into a WinForm application I mainly followed these two tutorials:
- Get started with WebView2 in Windows Forms
- WebView2 Reference - CoreWebView2.AddHostObjectToScript(String, Object)
- Make sure you have the Webview 2 Runtime and Visual Studio 2017 or later installed. For more info see: WebView 2 - Prerequisites
- Open Visual Studio
- Install the WebView 2 SDK with the NuGet package manager as described in the tutorial: Step 2 - Install WebView2 SDK
- Open the project in this repository
- Press build and you should be able to see the demo.
Take a look here this page which describes how to embed the Tiro web app into your .NET application..