Uploaded April 2026 | Updated November 2026, 4 hours ago
I've been coding for 28 years. In this video, I ditched the AI entirely and built
a full UDP network discovery system from scratch using nothing but experience.
Here's what learning the hard way still teaches you.
In this episode of the Avalonia UI Real World series, I implement a complete network
discovery feature — allowing a client application to automatically find a SOLIDWORKS
host running on any machine on the local network, without hardcoding any IP address.
🔧 What you'll learn:
• How MDNS (Multicast DNS) and UDP broadcast discovery actually work
• Why universal broadcast (255.255.255.255) gets blocked and how to fix it
• Getting all active NIC subnet broadcast addresses in C#
• Building a UdpClient listener with cancellation tokens and async/await
• Integrating host discovery into an Avalonia UI ViewModel with live UI updates
• Handling ObservableCollection and ComboBox binding quirks in Avalonia
This is pure C# networking — no libraries, no AI shortcuts, no hand-holding. Just the
kind of code a senior developer writes when they actually understand the problem.
📌 Avalonia UI Real World Series Playlist: [ADD LINK]
🌐 Website: angelsix.com
#CSharp #AvaloniaUI #NetworkProgramming #NETDevelopment #CodingWithoutAI
I've been coding for 28 years. In this video, I ditched the AI entirely and built
a full UDP network discovery system from scratch using nothing but experience.
Here's what learning the hard way still teaches you.
In this episode of the Avalonia UI Real World series, I implement a complete network
discovery feature — allowing a client application to automatically find a SOLIDWORKS
host running on any machine on the local network, without hardcoding any IP address.
🔧 What you'll learn:
• How MDNS (Multicast DNS) and UDP broadcast discovery actually work
• Why universal broadcast (255.255.255.255) gets blocked and how to fix it
• Getting all active NIC subnet broadcast addresses in C#
• Building a UdpClient listener with cancellation tokens and async/await
• Integrating host discovery into an Avalonia UI ViewModel with live UI updates
• Handling ObservableCollection and ComboBox binding quirks in Avalonia
This is pure C# networking — no libraries, no AI shortcuts, no hand-holding. Just the
kind of code a senior developer writes when they actually understand the problem.
📌 Avalonia UI Real World Series Playlist: [ADD LINK]
🌐 Website: angelsix.com
#CSharp #AvaloniaUI #NetworkProgramming #NETDevelopment #CodingWithoutAI










