76

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
  • 52,327
  • 25
  • 125
  • 193

9 Answers9

42

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
  • 24,888
  • 17
  • 83
  • 118
39

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
  • 2,051
  • 1
  • 19
  • 25
  • 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
  • 138,677
  • 31
  • 291
  • 286
Alex Lyman
  • 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
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
  • 51,492
  • 15
  • 48
  • 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
  • 8,515
  • 1
  • 38
  • 51
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
  • 4,161
  • 2
  • 31
  • 49
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,297
  • 1
  • 21
  • 28
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
  • 6,928
  • 2
  • 47
  • 58