I Built My First AI Chat App with RAG and MCP Server — Here’s What I Learned

TLDR: The new .NET AI app template provides a good boilerplate for creating RAG-based AI applications. Integrating an MCP Server using the .NET MCP SDK is also straightforward. Background: Over the years, a lot of internal documentation has accumulated across the multiple systems we develop and support. Combined with ongoing changes, this creates a significant … Read more

Use HTTP Files Instead of Postman (or other visual tool)

Here are several factors why we choose to use HTTP files: 1. Simplicity and Lightweight Nature HTTP Files: They are simple text files that can define HTTP requests and can be version-controlled easily with your source code. You don’t need to install or run additional software; they can be managed and executed using command-line tools … Read more

New LINQ methods coming in .NET 9

CountBy This is a pretty and very useful method and it is better explained with an example: Before .NET 9 var roleCounts = users.GroupBy(user => user.Role) // Group users by their roles .Select(group => new { Role = group.Key, Count = group.Count() }); With .NET 9 var roleCounts = users.CountBy(user => user.Role);   AggregateBy Use … Read more

Тype Unions for C# (aka discriminated unions)

A long-desired feature in C# is now proposed in the C# community. Type Unions (aka discriminated unions) are specified in a new proposal of the language committee’s official C# language repository. This proposal aims to bring a new level of flexibility and type safety to C#, enabling developers to write more expressive and resilient code. … Read more

Azure Cosmos DB free with Azure AI Advantage

What is Azure Cosmos DB? Azure Cosmos DB is a fully managed NoSQL, relational, and vector database. It is designed to provide high availability and low latency for applications that need to scale across multiple regions. Azure Cosmos DB supports multiple data models, including document, key-value, graph, and column-family data models, making it a versatile … Read more