.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
C# C++ CSS HTML PowerShell JavaScript
Latest commit c06a6bb Jan 23, 2017 @amaitland amaitland Add NativeMethodWrapper::SetWindowPosition helper method - code is du…
…plicated and should be revisited later
Permalink
Failed to load latest commit information.
CefSharp.BrowserSubprocess.Core Upgrade to 3.2883.1545 Jan 16, 2017
CefSharp.BrowserSubprocess Update to 55 version number - don't get too excited we're still 2-3 m… Sep 25, 2016
CefSharp.Core Add NativeMethodWrapper::SetWindowPosition helper method - code is du… Jan 23, 2017
CefSharp.Example Add IRequestHandler.OnSelectClientCertificate (#1878) Dec 12, 2016
CefSharp.OffScreen.Example Crash Reporting - getting errors in logs when attempting to enable cr… Jan 16, 2017
CefSharp.OffScreen Add IRenderWebBrowser.GetScreenPoint - basic WPF implementation Jan 17, 2017
CefSharp.Test Upgrade to 3.2526.1347 Oct 29, 2015
CefSharp.WinForms.Example Crash Reporting - getting errors in logs when attempting to enable cr… Jan 16, 2017
CefSharp.WinForms.Test 1.25.2 coming up. Jun 17, 2013
CefSharp.WinForms WinForms - Override IsKeyInput to get arrows + tab working when use M… Oct 10, 2016
CefSharp.Wpf.Example Crash Reporting - getting errors in logs when attempting to enable cr… Jan 16, 2017
CefSharp.Wpf WPF Change to BitmapScalingMode.HighQuality - default it to higher an… Jan 18, 2017
CefSharp Add IRenderWebBrowser.GetScreenPoint - basic WPF implementation Jan 17, 2017
NuGet Add general usage guide to NuGet/Readme.txt Jan 16, 2017
old move current tests into old/ Feb 16, 2012
.gitattributes add *.vcproj to .gitattributes Mar 7, 2013
.gitignore Added DownloadItem .OriginalUrl (#1877) Dec 4, 2016
Build.bat Added build.bat script for slightly more convenient NuGet compiling Jan 7, 2015
CONTRIBUTING.md Update CONTRIBUTING.md Jun 30, 2016
CefSharp.Native.props Upgrade to 3.2704.1429 - Required for following changes as cef.redist… Jun 17, 2016
CefSharp.props Remove VS2010/2012 as CEF no longer builds on those older versions Sep 1, 2015
CefSharp.shfbproj Add header text and link to license Jun 15, 2016
CefSharp.snk - BrowserControl now derived from Control. Dec 9, 2010
CefSharp3.sln Upgrade to 3.2704.1429 - Required for following changes as cef.redist… Jun 17, 2016
CefSharp3.sln.DotSettings Add new Resharper settings (upgraded to new version) May 21, 2015
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md Jan 10, 2017
LICENSE Update copyright to 2016 Jan 11, 2016
NuGet.config Change new paramAray test methods in BindingTest.html to execute imme… Apr 5, 2016
README.WPF.md correction -> new CefSettings not new Settings Dec 12, 2014
README.md Add reference to the cefsharp/55 branch (will be created shortly) Jan 23, 2017
afterbuild.example.ps1 add after build script example that shows how to automatically upload… Oct 14, 2014
appveyor.yml For GitLink to work efficiently it needs a clone of got, so change ap… Jan 6, 2017
build.ps1 Untabify build.ps1 Jan 9, 2017
logo.png fix documentation links Dec 8, 2015

README.md

CefSharp Logo

Build Status CefSharp.WinForms CefSharp.Wpf CefSharp.OffScreen

Got a quick question? Jump on Gitter

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.

Releases

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.

Documentation

  • 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 General Usage Guide in help getting started/dealing with common scenarios.
  • 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.
  • CefSharp API generated from the souce code comments.

Contact

If you have a simple question please start by asking it on Gitter. Please keep the Issue Tracker for Bugs only please! Before submitting a PR please read CONTRIBUTING

Stackoverflow as always is a useful resource, you can post your more complex issues here. The CefSharp Google Group is no longer active. It is however a useful resource for archived questions/answers.

Branches & Forks

This is the official CefSharp fork, as maintained by the CefSharp community. You can also view the entire network of public forks/branches.

Note Due to so many Forks - Github can't process them through the Network Graphs Section so, if you need to do a search use the following: cefsharp fork:true and it will be able to process all of the forks.

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).

Build Status

CI Builds
Every commit on master produces a Nuget package. Use at your own risk! CefSharp MyGet Feed

Pre-release
CefSharp.Wpf

Stable
CefSharp.Wpf for either WPF or WinForms or OffScreen.

Release Branches

With each release a new branch is created, for example the 53.0.1 release corrisponds to the cefsharp/53 branch. If your new to CefSharp and are downloading the source to check it out, please use a Release branch

Branch CEF Version VC++ Version .Net Version Status
master 2883 2013 4.5.2 Development
cefsharp/55 2883 2013 4.5.2 Pre-Release
cefsharp/53 2785 2013 4.5.2 Release
cefsharp/51 2704 2013 4.5.2 Unsupported
cefsharp/49 2623 2013 4.0 Unsupported
cefsharp/47 2526 2013 4.0 Unsupported
cefsharp/45 2454 2013 4.0 Unsupported
cefsharp/43 2357 2012 4.0 Unsupported
cefsharp/41 2272 2012 4.0 Unsupported
cefsharp/39 2171 2012 4.0 Unsupported
cefsharp/37 2062 2013 4.0 Unsupported

Financial Support

Creating regular releases of CefSharp is a time intensive process and so to support further development we ask if can contribute financially to the next release?

Bountysource

Links

  • 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 : Well worth a read if you are implementing a new feature
  • HtmlView : Visual Studio extension bringing CefSharp for showing HTML pages inside VS.