UPDATE: New version available for .NET / WPF 4.0 here!
I’ve updated the WPF Chromium WebBrowser to use the current Awesomium beta version (1.6) and .NET 4.0. It’s still a preview, but you can find the source here on CodePlex.
Here are the known issues/problems:
- Resizing the WebBrowser causes the content to flicker. This appears to be an Awesomium issue, but it needs more investigation (pending support request on Awesomium forum).
- There is an artifact left behind when scrolling a page; this is a known bug in Awesomium and will be fixed by Awesomium RC1.


14 comments
Comments feed for this article
July 23, 2010 at 12:49 am
Sven
Many thanks again for this very, very helpful component. It’s one of the things I like most in my Google Reader app
Will there still be a .NET 3.5 version? Don’t want to have my users to manually upgrade to .NET 4.0 for now…
July 23, 2010 at 1:06 am
Chris Cavanagh
Sven – Yes there’s a 3.5 version coming
Also, due to the current issues with Awesomium 1.6 beta, I might do an additional .NET 4 version based on Awesomium 1.5.1.
July 23, 2010 at 1:13 am
Sven
Hooray – looking forward for 1.6
July 23, 2010 at 6:02 am
Steven Robbins
Nice one Chris – incidentally, the flickering happens with old Awesomium when running under .net 4.0 (but not under 3.5).
What was the cause of the invalid operation exceptions you were getting when you switched to .net4?
July 23, 2010 at 4:42 pm
Chris Cavanagh
Steven – There were a couple reasons for the Access Violations… The first (and dumbest on my part) was because I was mixing up debug & release Awesomium DLLs. The second was (apparently) due to me using C++ DLLs built with VS2008 (v90 compiler toolset) with a VS2010 (v100 toolset) C++ / CLI assembly… I’m assuming it was trying to get the v90 DLLs to run against the v100 C++ runtime…
July 27, 2010 at 2:51 am
Bart
Trying to get things compiling here but I get an error on missing WebCore.h. did I miss some other requirements for this to get compiling ?
July 27, 2010 at 7:44 am
Chris Cavanagh
Bart – You need to get the Awesomium source separately from http://www.khrona.com/products/awesomium/download/. This version of WebBrowser is built against Awesomium 1.6 beta; make sure you get the version intended for VS2008. Also make sure you expand the Awesomium folder alongside the Cjc.AwesomiumWrapper, Cjc.ChromiumBrowserDemo (etc) assemblies (see http://wpfchromium.codeplex.com/Thread/View.aspx?ThreadId=216109 for more details). Hope this helps!
September 18, 2010 at 4:24 pm
Damien
Plan for 1.6 RC1
?
September 18, 2010 at 10:47 pm
Chris Cavanagh
Damien – I’ve got it running but not happy with the stability yet. A few more wrinkles still to iron out
September 21, 2010 at 11:40 pm
Koichi Senada
It hangs when calling Cjc.ChromiumBrowser.WebBrowser.Dispose()
http://wpfchromium.codeplex.com/workitem/5174
That wasn’t happening with Awesomium 1.5.1 files.
Any ideas?
September 22, 2010 at 12:24 am
Chris Cavanagh
Koichi – The 1.6-based code is still pretty flaky; should have a stable version in the next couple of days
September 27, 2010 at 3:19 am
Gigio
I also tried to get working ver 1.6RC1.
I see all elements in the cache(“/Default”), but i get a lot of “System.AccessViolationException: Attempted to read or write protected memory.” when it tries(i think) to render the page.
October 4, 2010 at 7:23 am
Lex van der Sluijs
Hi Chris,
How’s it going with the update? I’m really really really looking forward to the new version!
Must…. exercise… patience….
October 4, 2010 at 10:09 am
KoichiSenada
I have found some totally stable implementation created by Rémi Gillig, based on which I have managed to create a stable WPF application.
But on some rare kind of websites it silently quits the application after loading the page, without crashing, just quits.
So now I guess I should try to create something based purely on WebKit, because lack of source code doesn’t let me track down all the bugs.
Definitely, all the bugs hide within the compiled closed source code of the original Awesomium or even the WebKit itself, I just can’t track them down from the C# debugger without the sources.
Rémi Gillig Awesomium.NET for Windows Forms: http://speps.fr/awesomiumdotnet