CefSharp lets you embed Chromium in .NET apps. It is a lightweight .NET wrapper around the Chromium Embedded Framework (CEF) by Marshall A. Greenblatt. About 30% of the bindings are written in C++/CLI with the majority of code here is C#. It can be used from C# or VB, or any other CLR language. CefSharp provides both WPF and WinForms web browser control implementations.
CefSharp is BSD licensed, so it can be used in both proprietary and free/open source applications. For the full details, see the LICENSE file.
Stable binaries are released on NuGet, and contain everything you need to embed Chromium in your .Net/CLR application. For usage see the Quick Start guide or FAQ #8.
- See the CefSharp.Wpf.Example or CefSharp.WinForms.Example projects for example web browsers built with CefSharp. They demo most of the available features.
- See the CefSharp.MinimalExample project for a basic demo of using the CefSharp NuGet packages.
- See the Wiki for work-in-progress documentation
- See the FAQ for help with common issues
- Upgrading from an earlier version of CefSharp? See the ChangeLog for breaking changes and upgrade tips.
If something is missing/incomplete, please don't hesitate to ask on or Stackoverflow. Before opening an issue or submitting a PR
please read CONTRIBUTING
The CefSharp Google Group is no longer very active. It is however a useful resource for archived questions/answers.
This is the official
CefSharp fork, as maintained by the CefSharp community. You can also view the entire network of public forks/branches.
Development is done in the master
branch. New features are preferably added in feature branches, if the changes are more than trivial. New PR's
should be targeted against master
.
When a new release is imminent a release
branch is created. We try to avoid making public facing API
changes in release
branches (Adding new features is fine, just not breaking changes).
CI Builds
Every commit on master
produces a Nuget
package. Use at your own risk! CefSharp MyGet Feed
Stable
for either WPF or
WinForms or
OffScreen.
Branch | CEF Version | VC++ Version | .Net Version | Status |
---|---|---|---|---|
master | 2526 | 2013 | 4.0 | Development |
cefsharp/45 | 2454 | 2013 | 4.0 | Release |
cefsharp/43 | 2357 | 2012 | 4.0 | Release |
cefsharp/41 | 2272 | 2012 | 4.0 | Unsupported |
cefsharp/39 | 2171 | 2012 | 4.0 | Unsupported |
cefsharp/37 | 2062 | 2013 | 4.0 | Unsupported |
- CefGlue: An alternative .NET CEF wrapper built using P/Invoke.
- ChromiumFx : Another P/Invoke .Net CEF wrapper
- CEF Forum : The official CEF Forum
- [CEF API Docs] (http://magpcss.org/ceforum/apidocs3/index-all.html) : Well worth a read if your implementing a new feature