Hi @Arthur P ,
Thanks for reaching out.
There isn’t a special MAUI setting you need to enable for WebView on Windows. The key difference is that .NET MAUI uses WebView2 on Windows, which depends on the Microsoft Edge WebView2 Runtime being installed and working correctly on the machine.
On Android, the WebView control is part of the OS, so it usually “just works.” On Windows, if the WebView2 runtime is missing, outdated, or corrupted, the WebView can fail to render and simply appear blank with no obvious error. Without the runtime, the WebView control cannot initialize, so it appears blank.
Here’s exactly what to check on your Windows machine:
- Verify WebView2 Runtime is installed
- Press Win + I to open Windows Settings
- Go to Apps → Installed apps (or Apps & Features)
- In the search box, type WebView2
- Look for Microsoft Edge WebView2 Runtime in the list
- If it’s not present, download and install the Evergreen Standalone Installer from Microsoft’s official page
- Check the runtime version
- Make sure the WebView2 runtime is reasonably up to date
- An outdated runtime can cause WebView to fail silently in MAUI apps
- Confirm Edge/WebView2 availability
- WebView2 relies on Edge (Chromium) components
- If Edge is disabled or heavily restricted by policy, WebView may not load
- Check output and logs while debugging
- Run the app with the Windows target and watch the Debug/Output window
- WebView2 initialization failures often appear there even if the UI stays blank
Once the WebView2 runtime is correctly installed and functioning, the MAUI WebView should render normally on Windows without any additional code or XAML changes.
Hope this helps! If my answer was helpful - kindly follow the instructions here so others with the same problem can benefit as well.