Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.69 KB

File metadata and controls

43 lines (31 loc) · 1.69 KB

AspNetCore.Components.WebView.Gtk

NuGet Version License

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

Start

Reference Yu-Core.AspNetCore.Components.WebView.Gtk

<PackageReference Include="Yu-Core.AspNetCore.Components.WebView.Gtk" Version="*" />

Install libwebkitgtk-6.0-4

sudo apt update
sudo apt install libwebkitgtk-6.0-4

See sample

NOTE

  • Only Support Linux platform
  • Similarities and differences with WinForms/WPF BlazorWebView
    • Similarities

      UrlLoading, StartPath, BlazorWebViewInitializing, BlazorWebViewInitialized

    • Differences

      Cannot use Webview2 API, should consult WebKitGtk

Dependencies

Thanks