I recently built and open-sourced JustX, a Windows x64 desktop application built with .NET 8, WPF, and WebView2.
Why WPF + WebView2 + a Loopback Server?
Instead of bundling a full Chromium runtime like Electron, JustX uses the Microsoft Edge WebView2 Runtime already present on most Windows machines. To avoid CORS and local file limitations while keeping everything self-contained, a small C# HTTP server runs on 127.0.0.1 to:
- Serve the bundled HTML/CSS/JS interface
- Proxy catalogue, image, subtitle, and media stream requests cleanly
Packaging & Automation
- Testing: Automated xUnit test suite (
XangetsuDesktop.Tests) - Installer: Built with Inno Setup 6 (
installer/JustX.iss) via PowerShell (scripts/package-release.ps1) - Releases: Tagged
v*releases trigger GitHub Actions to run tests, package both a Windows installer and portable ZIP, generate SHA256 checksums, and publish to GitHub Releases.
Check out the code or try the Windows build here: https://github.com/luffy-ay/JustX