Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Html viewer/web browser control alternatives

Tags:

browser

.net

I m currently using the IE ActiveX (web browser) control in .NET to show HTML inside my application, but it is VERY SLOW (loads of virtual memory eating), and very limited and I would like to swop this out with a fully managed HTML viewer.

This is a different request to Is there any better web browser control in C# (.NET)? as that is about other embedded browsers (Firefox/Gecko). I do not want to embed a browser, I want a properly managed control.


Update (13 Apr 2011): This post by Jeff Atwood explains part of the reasoning, for those unclear why this is important/needed.
like image 477
Robert MacLean Avatar asked Mar 15 '11 07:03

Robert MacLean


2 Answers

After finding Jeff's post I scrolled through the mess of comments and found HTMLRenderer, which is a codeplex solution. It has CSS 2.1 support plus HTML 4.1 support and is free & OSS (BSD LIcense). The code is a mess unfortunately, but there is only one part which is really worrisome the rest can be cleaned up.

like image 176
Robert MacLean Avatar answered Nov 04 '22 05:11

Robert MacLean


I think that good way to go is to use Webkit port for .NET

http://webkitdotnet.sourceforge.net/

More info about Webkit itself:

http://en.wikipedia.org/wiki/WebKit

like image 20
Wojtek Turowicz Avatar answered Nov 04 '22 05:11

Wojtek Turowicz