Files
haltroy 08685851d5 Linux support (Final) (#153)
* Add previous attempts back

* Update README.md

* Minor fixes
- Removed unnecessary stuff on CefGlue.Common.targets
- Removed removal of important Avalonia stuff on the CefGlue.Demo.Avalonia project.
- Added an exception for the case of libcef not found on CefRuntime.cs (still crashes on Linux).

* load libcef before version check

* Update README.md

* Update README.md

* Linux support

* Missing check _needDispose.

* Fix DevTools in Linux.

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/AvaloniaControl.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/AvaloniaControl.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update README.md

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Apply suggestions from code review

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Create LINUX.md

* Update README.md

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update README.md

* Update README.md

* Update CefGlue.CopyLocal.props

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update BrowserCefApp.cs

* Update AvaloniaControl.cs

* Put properties after the constructor

* Apply suggestions from code review

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

* Simplified platform detection logic

* Update CefRuntime.cs

* Update CefGlue/CefRuntime.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue/CefRuntime.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Apply suggestions from code review

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update BrowserCefApp.cs

---------

Co-authored-by: Shaojun Li <i@shaojun.li>
Co-authored-by: João Neves <joaomiguelneves@gmail.com>
Co-authored-by: João Neves <joao.neves@outsystems.com>
2024-07-31 09:16:46 +01:00

2.2 KiB

CefGlue

.NET binding for The Chromium Embedded Framework (CEF).

CefGlue lets you embed Chromium in .NET apps. It is a .NET wrapper control around the Chromium Embedded Framework (CEF). It can be used from C# or any other CLR language and provides both Avalonia and WPF web browser control implementations.

Here's a table for supported architectures, frameworks and operating systems:

OS x64 ARM64 WPF Avalonia
Windows ✔️ ✔️ ✔️ ✔️
macOS ✔️ ✔️ ❌ ✔️
Linux ✔️ 🔘 ❌ ✔️

✔️ Supported ❌ Not supported 🔘 Works with issues.

See LINUX.md for more information about issues and tested distribution list.

Currently only x64 and ARM64 architectures are supported.

Releases

Stable binaries are released on NuGet, and contain everything you need to embed Chromium in your .NET/CLR application.

  • CefGlue.Avalonia
  • CefGlue.Avalonia.ARM64
  • CefGlue.Common
  • CefGlue.Common.ARM64
  • CefGlue.WPF
  • CefGlue.WPF.ARM64

Documentation

See the Avalonia sample or WPF sample projects for example web browsers built with CefGlue. They demo some of the available features.