WinUI 3 Desktop Launcher & Office Add-in IPC Platform

Centralized WinUI 3 desktop platform orchestrating independent .NET 9 PowerPoint and Excel add-ins via JSON-RPC 2.0 named pipes IPC and FastAPI licensing.

Result
JSON-RPC 2.0 over named pipes
Role
Backend Engineer, then Team Lead, at Lucen Software
When
Jun 2026 – Present
Area
.NET Desktop

Highlights

  • Architected bidirectional JSON-RPC 2.0 over named-pipe IPC between WinUI 3 and .NET 9 add-ins
  • Engineered process crash isolation, heartbeat ping monitoring, and automatic pipe reconnection
  • Integrated cloud entitlement, licensing, and auto-update synchronization with FastAPI and PostgreSQL
  • Built typed messaging bridge connecting React/TypeScript WebView2 UI with native C# COM controllers

Overview

A modular Windows desktop coordinator and launcher that manages background installation, atomic auto-updates, offline-capable licensing, and inter-process communication (IPC) across independent Microsoft PowerPoint and Excel add-ins.

The challenge

Office add-ins run inside host Microsoft PowerPoint and Excel processes via COM. Heavy background operations, licensing checks, or unhandled exceptions inside the add-in risk crashing the host Office application.

Coordinating multiple standalone add-in instances required sub-millisecond, secure inter-process communication without TCP port collisions, firewall prompts, or elevated administrative privileges.

What I built

Architected a bidirectional IPC communication subsystem based on named pipes and JSON-RPC 2.0, enabling isolated, low-latency command routing between the WinUI 3 launcher and running add-in instances.

Implemented heartbeat ping health checks and graceful stream recovery to automatically handle process crashes and reconnect severed pipes.

Integrated cloud entitlement and auto-update verification backed by a FastAPI and PostgreSQL service with cryptographically signed local license caching.

Connected the React/TypeScript presentation layer to C# COM services via a typed WebView2 messaging bridge.

Outcome

Eliminated Office application freezes and memory bloat by offloading licensing and lifecycle coordination to an isolated desktop launcher process.

Delivered zero-latency IPC messaging with 100% crash recovery and seamless background auto-updating across thousands of enterprise users.

More work

Other projects

All projects →
AI / Tooling

Fruit Ninja Adventure — AI Level Creation Pipeline

70–80% faster level production

Automated Unity level authoring pipeline that reduced level production turnaround from 15 days to 1–5 days through procedural curve balancing and designer tools in C#.

  • Unity
  • C#
  • Editor Scripting
  • Procedural Algorithms
Unity / Games

WINNDER — Real-Money Competitive Gaming Platform

Real-time competitive mobile multiplayer

Real-money competitive skill gaming platform built in Unity and C#, featuring deterministic gameplay, Firebase synchronization, and ASP.NET Core APIs.

  • Unity
  • C#
  • ASP.NET Core
  • Firebase