Using own local C# MCP Server with Open WebUI

Programming

This blog post explains how to extend Open WebUI’s capabilities by hooking it up to a custom local MCP server written in C#. Our MCP server runs arbitrary Windows CLI commands via cmd.exe while filtering out dangerous operations. 

We then will show how to expose this MCP server through MCPO, a lightweight Python bridge that translates MCP calls into a standard OpenAPI‑compatible HTTP interface, allowing Open WebUI to invoke the tool as an external OpenAPI endpoint.

Finally, the article covers practical steps for configuring the tool in Open WebUI, demonstrates basic usage (e.g., pinging a website), and discusses adding basic security guardrails and batch‑file automation to start multiple MCPO listeners alongside Open WebUI.

Read more...

10 Ways LINQ Can Make Your C# Code Cleaner and More Expressive

Programming

C# is a powerful language that offers multiple ways to solve problems. While traditional loops and manual iterations work, they can often be verbose and error-prone. LINQ (Language Integrated Query) provides a more concise and readable way to handle collections, making your code cleaner and easier to maintain. In this article, we'll explore 10 common scenarios where LINQ can drastically reduce the amount of code you need to write.

Read more...

Extracting Structured Data from Letters with a C# LLM‑Driven Application

Programming

In today’s data‑driven world, the ability to transform unstructured text into machine‑readable, typed data is more valuable than ever. Whether you’re automating invoice processing, parsing customer letters, or feeding information into a workflow engine, the core challenge is turning prose into a schema‑constrained JSON payload that downstream systems can understand and validate

Read more...

Message queueing in C# from early WPF to .NET10

Programming

Here we cover message queueing from legacy MSMQ in WPF in the old days to modern .NET 10 solutions like RabbitMQ, Kafka, and Azure Service Bus. The article explains when each technology fits best and provides simple send/receive code samples. It also covers Hangfire and Quartz.NET for background jobs ("crontab"), helping developers choose the right tool for reliable, scalable, asynchronous processing.

Read more...

Building rich C# Desktop Apps for LINUX Desktop

Programming

Discover how Avalonia UI empowers C# developers to build modern, cross-platform desktop applications for Windows and Linux. While .NET MAUI is a strong cross-platform framework for mobile and desktop, its mobile-first focus and lack of Linux support make it less suited for desktop-centric scenarios. This article explores why Avalonia UI is the better choice for creating rich desktop experiences, with native multi-window support and consistent rendering powered by Skia. Developers coming from WPF or UWP will feel right at home with Avalonia’s XAML-based approach and full MVVM support.

Read more...

Protecting Your APIs with Rate Limiting in ASP.NET

Programming

Learn how to protect your ASP.NET Core APIs from DDOS abuse with built-in rate limiting in .NET 7+. Explore fixed window, sliding window, token bucket, and concurrency strategies, with code examples, benchmarks, and real-world best practices to keep your services secure and reliable.

Read more...

Comparison of API Technologies

Information

Comprehensive comparison of REST, GraphQL, and gRPC for C# .NET developers. Explore pros, cons, use cases, tooling, and real-world advice.

Read more...

C# using a Local Language Model with LM Studio to Sort Screenshots

Programming

Learn how to use a local language model with C# and LM Studio to automatically sort screenshots into categories using AI and Vision Language Models (VLM).  Utilize the power of visual recognition with .NET!

Read more...

Smarter APIs with GraphQL

Programming

While REST is not going away anytime soon and remains perfectly suited for many use cases, GraphQL offers significant advantages for applications where flexibility, efficiency, and rapid development cycles are critical. By enabling more precise data fetching, reducing the number of network requests, and improving the overall developer experience, GraphQL is helping to shape the future of API development.

Follow this step by step guide to setup your first GraphQL Client and Server in C# with .NET!

Read more...

Handling Large Files: BufferedStream vs LINQ's Chunk method

Programming

The choice between using BufferedStream and the LINQ Chunk extension method for operating with very large files depends on your specific use case and requirements. Here we discuss the pros and cons for each.

Read more...