Description
WebView is a .NET control that embeds Chromium in Avalonia and WPF applications. It wraps CefGlue, a C# binding for the Chromium Embedded Framework, and offers a simpler, strongly typed API. Results of JavaScript evaluation come back with the right type, scripts run in bulk for better performance, and you can also evaluate JavaScript synchronously. Errors include call stack information, and events let you respond when resources load or files download, with progress reporting. The control can load embedded resources through custom protocols, disable history navigation, and use proxy configuration. A support table in the README covers Windows, macOS and Linux on x64 and ARM64. WPF runs on Windows only, while Avalonia runs on all three systems, and Linux works with some issues described in a separate file. The repository is open source on GitHub.…
Highlights
- Embed Chromium in Avalonia and WPF .NET apps
- Strongly typed JavaScript evaluation
- Resource loading events and download progress
- Custom protocols for embedded resources
- Proxy configuration and optional offscreen rendering
- Stable releases published on NuGet
Ratings & Reviews
No ratings yet
Be the first to rate WebView.
People also visit
WebView FAQ
What is this control?
A .NET webview control that embeds Chromium in Avalonia and WPF applications, built on CefGlue.
Which platforms are supported?
Avalonia runs on Windows, macOS and Linux, while WPF runs on Windows only, according to the support table. Linux works with some issues.
How do I get it?
Stable binaries are released on NuGet and contain what you need to embed Chromium in a .NET application.
Can I run JavaScript from C#?
Yes. Results come back with the appropriate type, and you can evaluate JavaScript synchronously.
Is it free?
Yes. It is open source on GitHub.
What are the best WebView alternatives?
Popular alternatives to WebView include CefGlue, Chromium and Avalonia. See all WebView alternatives
