I've seen a few COM controls which wrap the Gecko rendering engine (GeckoFX, as well as the control shipped by Mozilla - mozctlx.dll). Is there a wrapper for Webkit that can be included in a .NET Winform application?
9 Answers
I've just release a pre-alpha version of CefSharp my .Net bindings for the Chromium Embedded Framework.
Check it out and give me your thoughts: https://github.com/chillitom/CefSharp (binary libs and example available in the downloads page)
update: Released a new version, includes the ability to bind C# objects into the DOM and more.
update 2: no-longer alpha, lib is used in real world projects including Facebook Messenger for Windows, Rdio's Windows client and Github for Windows

- 24,888
- 17
- 83
- 118
-
Great! WPF version is over there! – Itachi Sep 19 '14 at 12:37
-
Sadly, it's Windows-only. – cubuspl42 Oct 17 '15 at 13:53
-
@cubuspl42 checkout the CefGlue project which can run cross-platform as it uses P/Invoke instead of C++/CLI for its interop. – chillitom Oct 20 '15 at 08:08
-
2020 and CefSharp is still maintained. That is a big win. – Jason Foglia Feb 27 '20 at 16:42
-
I can't get the webforms examples to run – Joe Salazar Jun 29 '21 at 18:54
-
Was able to use CefSharp in WinForms app handling TDAmeritrade OAuth2 to have user enter their credentials to get the token from the redirect URL. – John Kurtz Jul 22 '21 at 16:02
Haven't tried yet but found WebKit.NET on SourceForge. It was moved to GitHub.
Warning: Not maintained anymore, last commits are from early 2013

- 2,051
- 1
- 19
- 25
-
-
2This project is no longer maintained -- I couldn't get anything to compile under Visual Studio 2012, nor does it have an up-to-date implementation of WebKit. – Elad Nava Oct 15 '15 at 11:46
There's a WebKit-Sharp component on Mono's GitHub Repository. I can't find any web-viewable documentation on it, and I'm not even sure if it's WinForms or GTK# (can't grab the source from here to check at the moment), but it's probably your best bet, either way.

- 138,677
- 31
- 291
- 286

- 15,637
- 3
- 38
- 42
-
I was unsuccessful trying to get this to build on Windows a few weeks ago, but would be interested if someone else could get this to build. – Adam Hughes Sep 27 '08 at 00:54
Berkelium is a C++ tool for making chrome embeddable.
AwesomiumDotNet is a wrapper around both Berkelium and Awesomium
BTW, the link here to Awesomium appears to be more current.

- 51,492
- 15
- 48
- 55
There's a WebKit-Sharp component on Mono's Subversion Server. I can't find any web-viewable documentation on it, and I'm not even sure if it's WinForms or GTK# (can't grab the source from here to check at the moment), but it's probably your best bet, either way.
I think this component is CLI wrapper around webkit for Ubuntu. So this wrapper most likely could be not working on win32
Try check another variant - project awesomium - wrapper around google project "Chromium" that use webkit. Also awesomium has features like to should interavtive web pages on 3D objects under WPF

- 8,515
- 1
- 38
- 51
I was able to do this using CefSharp (which uses chromium browser).
Here are a couple posts that show this in action:

- 4,161
- 2
- 31
- 49
There is OpenWebKitSharp, a fork of WebKit.NET 0.5 and very advanced. Details: http://code.google.com/p/open-webkit-sharp/

- 129
- 2
- 1
The Windows version of Qt 4 includes both WebKit and classes to create ActiveX components. It probably isn't an ideal solution if you aren't already using Qt though.

- 2,297
- 1
- 21
- 28
try this one http://code.google.com/p/geckofx/ hope it ain't dupe or this one i think is better http://webkitdotnet.sourceforge.net/

- 6,928
- 2
- 47
- 58