.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.
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.
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
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:
- HotJava
- Lobo
精彩评论