Robert MacLean
Robert MacLean

Reputation: 39261

.NET Html viewer/web browser control alternatives

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.

Upvotes: 8

Views: 6483

Answers (3)

Robert MacLean
Robert MacLean

Reputation: 39261

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.

Upvotes: 5

Adam
Adam

Reputation: 4227

You just arent going to find one. The complexity of writing a browser, especially in this competative market, is massive.

What you could possibly try, is running a pure Java web browser in .Net, by using iKVM

Ideally, one of these browsers, ported to .net would be great, but I cant find any reference to that either.

Two pure Java browsers:

  1. HotJava
  2. Lobo

Upvotes: -1

Wojtek Turowicz
Wojtek Turowicz

Reputation: 4131

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

Upvotes: 1

Related Questions