C# A未加载HTTPS web应用程序

C# A未加载HTTPS web应用程序,c#,wpf,mvvm,caliburn.micro,awesomium,C#,Wpf,Mvvm,Caliburn.micro,Awesomium,这就是我的WPF应用程序中的内容,我正在使用Awesomium web浏览器控件以及MVVM和Caliburn.Micro 在我的ShellViewModel中,OnViewReady方法中有以下代码 if (!WebCore.IsInitialized) { WebCore.Initialize( new WebConfig() { H

这就是我的WPF应用程序中的内容,我正在使用Awesomium web浏览器控件以及MVVM和Caliburn.Micro

在我的ShellViewModel中,OnViewReady方法中有以下代码

        if (!WebCore.IsInitialized)
        {
            WebCore.Initialize(
                new WebConfig()
                {
                    HomeURL = "http://www.ic24.org.uk".ToUri(),
                    LogPath = Path.Combine(@"C:\Users\nstevens\AppData\Local\IC24\Cleo", "logs"),
                    LogLevel = LogLevel.Verbose
                });
        }

        webControl = new WebControl
                             {
                                 Source = "https://newcleodev.sehnp.nhs.uk/".ToUri(), // this is a locally hosted web application
                                 WebSession =
                                     WebCore.CreateWebSession(
                                         @"C:\SessionDataPath",
                                         new WebPreferences
                                             {
                                                 WebSecurity = false,
                                                 AllowInsecureContent = true
                                             })
                             };
        webControl.WebSession.ClearCache();
        webControl.BorderThickness = new Thickness(0, 0, 0, 0);
        webControl.Margin = new Thickness(0, -4, 0, 0);
        webControl.ShowContextMenu += webControl_ShowContextMenu;
        webControl.ConsoleMessage += (sender, args) => Debug.WriteLine(args.Message);
        webControl.Crashed += (sender, args) => Debug.WriteLine(args.Status);
        webControl.LoadingFrame += this.webControl_LoadingFrame;
        webControl.LoadingFrameComplete += this.webControl_LoadingFrameComplete;
        webControl.CertificateError += (sender, args) =>
            {
                args.Handled = EventHandling.Default;
                args.Ignore = true;
            };

        WebCore.ResourceInterceptor = new CustomResourceInterceptor
                                          {
                                              RequestEnabled = true, 
                                              Headers =
                                                  new Dictionary<string, string>
                                                     {
                                                          {
                                                              "theme", 
                                                              shellView
                                                              .SelectedItem
                                                              .StyleSheet
                                                          }
                                                      }
                                          };

        this.documentPanel = new DockPane { Header = "NHS Confidential: Personal data about a patient", Content = webControl };

        this.dockingManager.AddDocument(this.documentPanel);

        webControl.DocumentReady += WebViewOnDocumentReady;
在VS中,没有任何其他内容可以将输出输出到日志或输出窗口


编辑:我已经检查了LoadingFrameEventArgs的值,没有发现任何问题,没有SSL错误,LoadingFrame事件被触发,但没有其他问题,我真的被卡住了

如何尝试将此信息从ViewModel放置到控件中?惯例?如果可以的话,您可以用Xaml为我们提供更多关于控件放置方式(UserControl/Page)以及viewmodel结构的定义吗?如果可以的话,
webControl
添加到DockContainer中,我发现问题与Web应用程序的SSL配置有关,该站点是使用客户端证书设置的,因此当在Chrome中导航到该站点时,系统会提示您选择一个证书,在IIS中更改此设置解决了问题并加载了该站点您好,先生,我是visual studio和Awesomium的新手,我不知道您在上面讨论什么,有没有更简单的方法?
[0807/143423:INFO:(0)] WebCore is now online.
[0807/143423:INFO:(0)] Running Awesomium 1.7.5.0
[0807/143423:INFO:Awesomium.NET(0)] Registering Javascript Callbacks