Is there an embeddable Webkit component for Windows / C# development? [closed]
Asked Answered
H

9

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?

Homebred answered 26/9, 2008 at 21:47 Comment(0)
B
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.

Blemish answered 26/9, 2008 at 22:38 Comment(1)
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.Sumer
G
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

Grisby answered 3/12, 2010 at 17:5 Comment(6)
Great! WPF version is over there!Xanthophyll
Sadly, it's Windows-only.Silvery
@Silvery checkout the CefGlue project which can run cross-platform as it uses P/Invoke instead of C++/CLI for its interop.Grisby
2020 and CefSharp is still maintained. That is a big win.Marriott
I can't get the webforms examples to runMurrelet
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.Seraphim
C
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

Cockaleekie answered 9/2, 2010 at 8:46 Comment(2)
I got this working fine a few months ago. Seemed to work well.Giannini
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.Callum
B
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.

Blemish answered 26/9, 2008 at 22:38 Comment(1)
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.Sumer
O
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.

Overshadow answered 9/4, 2010 at 21:24 Comment(1)
Berkelium is no longer maintained.Silvery
I
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

Ireneirenic answered 28/8, 2009 at 13:59 Comment(0)
U
6

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

Undercharge answered 11/9, 2011 at 15:11 Comment(0)
M
6

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

Here are a couple posts that show this in action:

Midweek answered 6/6, 2012 at 10:4 Comment(0)
K
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.

Kowtko answered 30/9, 2008 at 13:18 Comment(0)
M
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/

Muzz answered 22/7, 2011 at 15:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.