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: 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.
Inter-process Communication with WitCom
WitCom is a WCF-like communication framework that allows you to define service interfaces, select a transport, and configure full-duplex communication with just a few lines of code. Supported transports include common options like Named Pipes, TCP, and WebSocket, as well as unique support for memory-mapped files. This enables ultra-fast, low-latency duplex communication on a local machine, ideal for transferring large volumes of data with maximum efficiency.