Skip to content

Yu-Core/AspNetCore.Components.WebView.Gtk

Repository files navigation

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="0.1.1" />

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

About

Build Linux apps with Blazor and WebKitGTK

Resources

License

Stars

Watchers

Forks

Packages

No packages published