Open
Description
My application works fine on my laptop (Windows 10).
When the application runs on my dev VM (Windows Server 2016), the interaction with the Web server and rendering of web pages are all good, and the request and response messages exchanged with the Web server are captured by Fiddler; however, _webView2.CoreWebView2.WebResourceResponseReceived is not invoked.
The version of "Microsoft.Web.WebView2" package is "1.0.1418.22". The runtime version is the same on both machines:
private void CoreWebView2Ready(object sender, EventArgs e)
{
_webView2.CoreWebView2.WebResourceRequested += WebResourceRequested;
_webView2.CoreWebView2.WebResourceResponseReceived += ResponseReceived;
_webView2.CoreWebView2.ClientCertificateRequested += ClientCertificateRequested;
_webView2.CoreWebView2.Settings.AreHostObjectsAllowed = false;
_webView2.CoreWebView2.Settings.IsWebMessageEnabled = false;
_webView2.CoreWebView2.Settings.AreDefaultScriptDialogsEnabled = false;
_webView2.Source = new Uri(SsoEndpointUrl);
}
Metadata
Metadata
Assignees
Labels
No labels