/CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework

Primary LanguageC#OtherNOASSERTION

CefSharp - Embedded Chromium for .NET

This project contains .NET CLR bindings for The Chromium Embedded Framework (CEF) by Marshall A. Greenblatt. A small Core of the bindings are written in C++/CLI but the majority of code here is C#. It can of course be used from any CLR language, e.g. C# or VB.

CefSharp provides both WPF and WinForms web browser control implementations. See the CefSharp.Wpf.Example or CefSharp.WinForms.Example projects for example web browsers built using this library; they are (at this moment) the best "documentation" of features. In addition see the CefSharp.MinimalExample repo for how CefSharp can actually be used via NuGet packages.

This project is BSD licensed, which means that it can be used from both proprietary and free/open source applications. For the full details, see the LICENSE file.

Documentation & mailing list

Apart from code samples mentioned above work-in-progress documentation can be found in the wiki. If something is missing/incomplete, please don't hesitate to ask at the CefSharp Google Group. You might also find help by searching the archive to that same Google Group for previous questions.

Binary Release

Binary releases contain everything needed to embed Chromium in your CLR application.

  • Pre-release - CefSharp-3.29.0-pre.0 Currently only available as a WPF NuGet. NuGet is CefSharp's new primary (only?) binary delivery mechanism.
  • Stable (.NET 4): CefSharp-1.25.7 - binaries, source, + WPF or WinForms NuGet's. Based on Chromium 25.0.1364.152
  • Legacy (older release, works with .NET 2. Requires 7-Zip to extract.): CefSharp-1.25.0. Based on Chromium 25.0.1364.152

See the SF Downloads page for even older releases. Please note that the latest Stable release, or preferably the new CEF3 Pre-release getting out of beta real-soon-now, is the only version officially supported; it's very unlikely that we will fix bugs in older releases.

Branches & Forks

  • Development is done in the master branch, which used to be called CefSharp3 during the development cycle. New features are preferably added in feature branches, if the changes are more than trivial.
  • Ultra-stable/LTS work is done in CefSharp1.
  • The CefSharp GitHub project page is the recommended starting place. This is the "official" CefSharp fork, as maintained by the CefSharp community. You can also view the entire network of public forks/branches.

Links

  • CefGlue: An alternative .NET CEF wrapper built using P/Invoke.