Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Webview 5.11/6.0 presenting blank window from local and intranet site, C# WPF #244

Open
wavestone2 opened this issue Mar 15, 2020 · 4 comments
Labels
WebView 🖥️ WPF and WinForms WebView

Comments

@wavestone2
Copy link

I'm trying to set a very simple WPF application that will only pull a local HTML page that is a live and functioning as expected, hosted in our work place. we have no internet connection within the LAN.

I added succesfully WebView 5.11 (also tried 6.0 with same results) and added the following code:
<WPF:WebView Source="https://localSiteAddress" x:Name="wv" IsPrivateNetworkClientServerCapabilityEnabled="true"/>

this results in a blank page.
I was triyng to do the same through the code CS file and I added the following code:

private void Grid_Loaded(object sender, RoutedEventArgs e) { var wv = new WebView(); wv.IsPrivateNetworkClientServerCapabilityEnabled = true; wv.Source = new Uri("https://localSiteAddress"); grid.Children.Add(wv); wv.BringIntoView(); }

same behavior

I was trying to access multiple local intranet websites with the same result. Note: when i use an external PC with Internet connection i manage to access websites

I was trying the resulutions presented at the following link
CommunityToolkit/WindowsCommunityToolkit#2226
No resoolution yet ...

Anyone pelase help :) any suggestion will be so welcome :)

Thanks

@ghost
Copy link

ghost commented Mar 15, 2020

Hello wavestone2, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

@Kyaa-dost
Copy link
Contributor

@wavestone2 what VS version are you using?

Adding WebView team here @pagoe-msft

@michael-hawker michael-hawker transferred this issue from CommunityToolkit/WindowsCommunityToolkit Mar 16, 2020
@ghost ghost added the needs triage 🔍 label Mar 16, 2020
@ghost
Copy link

ghost commented Mar 16, 2020

Hello wavestone2, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

@wavestone2
Copy link
Author

Hello Kaya,

I Installed 5.11 and 6.0 (not at the same time), same behavior in both cases

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
WebView 🖥️ WPF and WinForms WebView
Projects
None yet
Development

No branches or pull requests

3 participants