The desktop sample demonstrates the full surface area of the library in an Avalonia application.
Run the desktop sample:
dotnet run --project samples/NativeWebView.Sample.Desktop/NativeWebView.Sample.Desktop.csproj -c Debug
The sample exercises:
NativeWebView navigation, messaging, printing, state, and native handles.Embedded, GpuSurface, and Offscreen.NativeWebDialog actions on desktop backends.WebAuthenticationBroker flows.Run the smoke path used by CI:
dotnet run --project samples/NativeWebView.Sample.Desktop/NativeWebView.Sample.Desktop.csproj -c Debug -- --smoke
This path validates backend contracts and capability coverage with a predictable command-line flow.
Generate a readiness report from the diagnostics sample:
dotnet run --project samples/NativeWebView.Sample.Diagnostics/NativeWebView.Sample.Diagnostics.csproj -- \
--platform all \
--output artifacts/diagnostics/platform-diagnostics-report.json \
--markdown-output artifacts/diagnostics/platform-diagnostics-report.md
For mobile or browser smoke validation:
./scripts/run-mobile-browser-sample-smoke.sh --configuration Release --platform all
Use the feature explorer when you need to verify: