<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Luffy</title>
    <description>The latest articles on DEV Community by Luffy (@luffyay).</description>
    <link>https://dev.to/luffyay</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4282985%2Fdae90438-0f92-402a-8257-bbaee14052df.jpg</url>
      <title>DEV Community: Luffy</title>
      <link>https://dev.to/luffyay</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/luffyay"/>
    <language>en</language>
    <item>
      <title>Building a Lightweight Windows Desktop App with .NET 8, WPF, and WebView2</title>
      <dc:creator>Luffy</dc:creator>
      <pubDate>Fri, 04 Dec 2026 14:20:08 +0000</pubDate>
      <link>https://dev.to/luffyay/building-a-lightweight-windows-desktop-app-with-net-8-wpf-and-webview2-lmh</link>
      <guid>https://dev.to/luffyay/building-a-lightweight-windows-desktop-app-with-net-8-wpf-and-webview2-lmh</guid>
      <description>&lt;p&gt;I recently built and open-sourced &lt;strong&gt;&lt;a href="https://github.com/luffy-ay/JustX" rel="noopener noreferrer"&gt;JustX&lt;/a&gt;&lt;/strong&gt;, a Windows x64 desktop application built with &lt;strong&gt;.NET 8&lt;/strong&gt;, &lt;strong&gt;WPF&lt;/strong&gt;, and &lt;strong&gt;WebView2&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why WPF + WebView2 + a Loopback Server?
&lt;/h3&gt;

&lt;p&gt;Instead of bundling a full Chromium runtime like Electron, JustX uses the &lt;strong&gt;Microsoft Edge WebView2 Runtime&lt;/strong&gt; 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 &lt;code&gt;127.0.0.1&lt;/code&gt; to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Serve the bundled HTML/CSS/JS interface&lt;/li&gt;
&lt;li&gt;Proxy catalogue, image, subtitle, and media stream requests cleanly&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Packaging &amp;amp; Automation
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Testing:&lt;/strong&gt; Automated xUnit test suite (&lt;code&gt;XangetsuDesktop.Tests&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Installer:&lt;/strong&gt; Built with Inno Setup 6 (&lt;code&gt;installer/JustX.iss&lt;/code&gt;) via PowerShell (&lt;code&gt;scripts/package-release.ps1&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Releases:&lt;/strong&gt; Tagged &lt;code&gt;v*&lt;/code&gt; releases trigger GitHub Actions to run tests, package both a Windows installer and portable ZIP, generate SHA256 checksums, and publish to GitHub Releases.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check out the code or try the Windows build here: &lt;a href="https://github.com/luffy-ay/JustX" rel="noopener noreferrer"&gt;https://github.com/luffy-ay/JustX&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>dotnet</category>
      <category>showdev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
