C#-将Firefox / Gecko作为控件嵌入到.Net(forms / wpf)入门中的一般入门问题

我正在考虑不再使用IE和.NET应用程序的webbrowser控件. C#或VB.NET.

我想改用Firefox,但是我对此并不陌生,并且对所有不同的软件包,fork,旧教程和Firefox版本非常困惑.

>我的理解是,我首先需要GeckoFX.这是只是一个将Firefox的Gecko(布局引擎)移植到.NET才能使用的人吗?或者这是官方的,或多或少是官方的?
>我的下一个理解是我需要运行时xulRunner,并且始终需要将GeckoFX版本与xulRunner匹配吗?如果GeckoFX当前版本为45,则与此匹配的xulRunner在哪里?
>如果操作系统已经安装了Firefox,是否有1和2的快捷方式?还是我每次更新时都需要始终从GeckoFX和xulRunner下载,开发和部署所有内容?
>我可以在嵌入式控件中使用用户的Firefox个人资料吗?特别是我需要对某些网站使用PKI证书,而我不能简单地忽略它们.还是我需要从他们的配置文件中复制cert8.db以便将其与嵌入式控件一起使用?
>我在上面提供的链接上的GeckoFX是45版,这是否意味着它使用45版的Firefox Gecko?这意味着它比当前的Firefox版本稍微落后一点(我的Firefox显示52)?
>如果用户更新了Firefox,这是否会完全影响我的嵌入式控件?

解决方法:

My understanding is that I first need GeckoFX. Is this just one person who has ported Firefox’s Gecko (the layout engine) to be able to used by .NET or is this something official or more or less official?

GeckoFx不是Gecko的港口;它是围绕xulrunner的.net包装器.这不是Mozilla项目.

My next understanding is that I need xulRunner which is the runtime and that I always need to match GeckoFX version with xulRunner?

对.

If GeckoFX is currently at version 45 where is the matching xulRunner for this?

The project site具有在哪里获取xulrunner的指令和指针.

If the operating system already has Firefox installed are there any shortcuts to 1 and 2? Or do I need to always download, develop and deploy everything from GeckoFX and xulRunner each time it is updated?

从理论上讲,它可以使用已安装的Firefox.但是由于geckofx的版本必须与已安装的Firefox匹配,因此这似乎不切实际,因为您无法控制正在运行哪个版本的Firefox用户.

Can I use the users’ Firefox profile with my embedded control? In particular I need to use the PKI certificates for certain websites and I cannot simply ignore them. Or do I need to copy the cert8.db from their profile to use it with my embedded control?

对不起,我不知道.您可以尝试拨打the BitBucket project site.

GeckoFX at the link i provided above is at version 45, does this mean that it uses the Firefox Gecko from version 45? This means it is a little bit behind the current firefox version (my Firefox shows 52)?

是.

If the user updates Firefox does this effect my embedded control at all?

如果您的项目使用自己的xulrunner,则不会.

上一篇:C#如何从GeckoWebBrowser控件获取cookie


下一篇:PHP类树,其中父级包含子类的实例