Blog

WitCom and Discovery

Drawing inspiration from WCF, WitCom enables servers to broadcast their availability via UDP multicast with customizable parameters and periodic “heartbeat” messages. Clients, equipped with a dedicated Discovery component, listen for these announcements to automatically build connections based on real-time service information. This article details the server-side configuration for Discovery, including setting transport types, encryption, and descriptive metadata, and explains how clients can leverage received messages to establish the proper transport connection. Learn to integrate this powerful feature into your distributed applications and streamline the connection process in dynamic network environments.

WitCom and Blazor WebAssembly

Blazor WebAssembly offers a powerful way to build web applications using C#, eliminating the need to rely on traditional web technologies like JavaScript. When combined with WitCom, it simplifies client-server communication while supporting advanced features like asynchronous operations and custom encryption. With the flexibility to run in AoT mode and compatibility across platforms, WitCom and Blazor WebAssembly provide a unified approach for developing modern, efficient applications with a shared contract between frontend and backend.

WitCom: Dynamic Proxy vs Static Proxy

Explore the differences between dynamic and static proxies in WitCom, highlighting how Castle DynamicProxy simplifies remote service interaction with runtime flexibility, while static proxies generated via Source Generation provide compatibility with AoT environments like Blazor, improved startup performance, and reduced dependency on runtime code generation. Learn when to choose each approach for optimal development.