73

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?

Community
  • 1
  • 1
Jon Galloway
  • 50,160
  • 24
  • 120
  • 192

9 Answers9

40

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

chillitom
  • 22,164
  • 15
  • 79
  • 117
38

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

Petr Havlicek
  • 1,911
  • 1
  • 17
  • 20
  • I got this working fine a few months ago. Seemed to work well. – Tristan Feb 10 '10 at 01:47
  • 2
    This 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
19

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.

vcsjones
  • 128,004
  • 28
  • 283
  • 274
Alex Lyman
  • 14,837
  • 3
  • 36
  • 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
13

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.

Kevin Driedger
  • 44,076
  • 15
  • 45
  • 55
7

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

Regfor
  • 7,973
  • 1
  • 32
  • 50
6

I was able to do this using CefSharp (which uses chromium browser).

Here are a couple posts that show this in action:

Dinis Cruz
  • 3,753
  • 2
  • 26
  • 46
6

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

George
  • 129
  • 2
  • 1
2

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.

Andy Brice
  • 2,257
  • 1
  • 21
  • 27
1

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/

unloco
  • 5,521
  • 2
  • 33
  • 48