Blog

Blog posts on .NET, AI, Azure, and more.

Using MCP Tools for your AI Agent

November 04, 2025 by Anuraj

dotnet csharp AI mcp

In this blog post, we’ll explore how to use MCP Tools for your AI agent using Microsoft Agent Framework and MCP Client SDK. I will be using almost same code as my earlier post. Instead of the custom tool, I will be using the Playwright MCP server and expose the tools from the MCP to the AI Agent.

Build your first AI Agent using Microsoft Agent Framework

October 30, 2025 by Anuraj

dotnet csharp AI

In this blog post, we’ll explore how to build your first AI agent using Microsoft Agent Framework. Microsoft Agent Framework is an open-source development kit for building AI agents and multi-agent workflows for .NET and Python. It brings together and extends ideas from Semantic Kernel and AutoGen projects, combining their strengths while adding new capabilities. Built by the same teams, it is the unified foundation for building AI agents going forward.

10 Practical C# Tips for Clean and Reliable Code

October 09, 2025 by Anuraj

dotnet csharp

In this blog post, we’ll explore top 10 Practical C# Tips for Clean and Reliable Code.

Passing images to LLMs in C# with Microsoft.Extensions.AI

September 22, 2025 by Anuraj

dotnet csharp AI

In this blog post, we’ll explore how to send images to LLMs for analysis in C# with Microsoft.Extensions.AI. Recently while working on chat application, I realize I couldn’t find any samples where we will be sending images to multi model LLMs to analyze the image. So I explored a little bit. Initially I used to convert the image to base64 and send it along with the prompt, but it didn’t worked as expected because of the token window constraints. Then I explored a little bit more and found this.

Working with Docker model Runner from .NET

September 18, 2025 by Anuraj

dotnet csharp docker AI

In this blog post, we’ll explore how to enable model runner in Docker and interact with it from dotnet applications. The Docker Model Runner is a plugin for Docker Desktop that allows us to manage and run AI models directly from the command line. This plugin enables us to pull models from Docker Hub, run them interactively or with a prompt, and manage local models by adding, listing, or removing them.

Copyright © 2025 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub