Website Logo Light Website Logo Dark OUTWIT

WitRPC and Discovery

February 28, 2025 · 3 min read

Explore WitRPC's powerful Discovery feature, inspired by WCF, designed to simplify dynamic network communications. Servers can effortlessly announce their availability via UDP multicast, broadcasting essential information like transport types, server names, and connection settings. Clients automatically detect these announcements, enabling quick and intuitive connections. Customize the Discovery mechanism with periodic announcements or specific addresses, maintaining complete flexibility for evolving distributed applications. Enhance your application's responsiveness and developer experience with WitRPC Discovery today!

Tags: witrpcwcfservice-discoveryudp-multicast
Read more

WitRPC and Blazor WebAssembly

January 27, 2025 · 4 min read

Blazor WebAssembly unlocks powerful frontend development using pure C#, eliminating extensive HTML, CSS, or JavaScript. When combined with WitRPC, developers can achieve secure, seamless client-server communication—even overcoming browser limitations on cryptography. Explore two straightforward encryption approaches: disabling built-in encryption or integrating a custom JavaScript-based encryptor leveraging the Web Crypto API. Additionally, discover how Ahead-of-Time (AoT) compilation impacts WitRPC usage, guiding you through the transition to static proxies for improved performance.

Dynamic Proxy vs Static Proxy in WitRPC

January 11, 2025 · 3 min read

Explore the new static proxy feature in WitRPC, designed specifically for Ahead-of-Time (AoT) compilation environments like Blazor WebAssembly and .NET Native AOT. Unlike DynamicProxy, static proxies generated via Roslyn's Source Generation ensure compatibility, improve startup performance, and eliminate reflection overhead. Learn how to quickly implement static proxies by marking interfaces with attributes, automating proxy generation, and seamlessly integrating with existing WitRPC workflows. Evaluate the pros and cons to determine the best proxy solution for your .NET applications.

Tags: witrpcstatic-proxysource-generatorsaot
Read more

Inter-process Communication with WitRPC

January 5, 2025 · 4 min read

Integrating legacy components with modern applications often presents complex challenges, especially when dealing with platform compatibility like mixing 32-bit and 64-bit processes. In this post, I introduce WitRPC, a high-performance successor to WCF, specifically built for seamless, full-duplex inter-process communication (IPC) in .NET. With native support for interfaces, event callbacks, and optimized transports such as Memory-Mapped Files (MMF) and Named Pipes, WitRPC simplifies legacy integration, enhancing both flexibility and efficiency in your engineering systems.

Tags: witrpcinter-processlegacy-systems
Read more

Streamlining .NET Development with Practical Aspects

November 20, 2024 · 8 min read

Aspect-oriented programming (AOP) offers an effective way to encapsulate cross-cutting concerns into reusable components called aspects. By separating these concerns from core business logic, AOP streamlines development, minimizes boilerplate code, and enhances maintainability. In this article, I introduce three practical aspects: Notify, Log, and Bindable, that I consistently use in my projects, demonstrating how they simplify common programming tasks and significantly improve code quality.