AspNetCore.Components.WebView.Gtk is a library for building native clients using Blazor and WebView. It provides a BlazorWebView Widget for running the blazor hybird application on Linux. Use GTK and WebKitGTK, bound by Gir.Core
Reference Yu-Core.AspNetCore.Components.WebView.Gtk
<PackageReference Include="Yu-Core.AspNetCore.Components.WebView.Gtk" Version="0.1.1" />
Install libwebkitgtk-6.0-4
sudo apt update
sudo apt install libwebkitgtk-6.0-4
See sample
- Only Support Linux platform
- Similarities and differences with WinForms/WPF BlazorWebView
-
Similarities
UrlLoading, StartPath, BlazorWebViewInitializing, BlazorWebViewInitialized
-
Differences
Cannot use Webview2 API, should consult WebKitGtk
-