EdgeSharp icon indicating copy to clipboard operation
EdgeSharp copied to clipboard

Build .NET Win32/WinForms/WPF WebView2 HTML5 Desktop Apps

EdgeSharp

EdgeSharp, an offshoot of Chromely, is a .NET HTML5 Win32/WinForms/Wpf WebView2 desktop framework.

  • Win32 - Implements a .NET win32 window to host WebView2 as a browser.
  • WinForms - Adds value to base Microsoft WebView2 WinForms offering.
  • Wpf - Adds value to base Microsoft WebView2 Wpf offering.

EdgeSharp.Core EdgeSharp.Core.Owin EdgeSharp EdgeSharp.WinForms EdgeSharp.Wpf

A basic EdgeSharp Win32 project requires:

class Program
{
    [STAThread]
    static void Main(string[] args)
    {
        AppBuilder
        .Create()
        .UseConfig<SampleConfig>()
        .UseWindow<SampleWindow>()
        .UseApp<SampleApp>()
        .Build()
        .Run(args);
    }
}

EdgeSharp Samples

Get started with using samples.

edgesharp_screens_normal

References

  • WebView2 - https://docs.microsoft.com/en-us/microsoft-edge/webview2/
  • Chromium.AspNetCore.Bridge - https://github.com/amaitland/Chromium.AspNetCore.Bridge