Blog

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

Stop Debugging C# AI Agents in the Console: A Guide to Microsoft Agent Framework DevUI

November 26, 2026 by Anuraj

dotnet ai csharp devui

In this blog post, we will learn how to set up DevUI in ASP.NET Core to visually test, debug, and trace your C# AI agents, tool calls, and workflows in real time without writing frontend code. Building AI agents in C# often follows a repetitive pattern: tweaking a system prompt, updating a tool description, hitting F5, and staring at a wall of plain text in the terminal while trying to figure out why the model hallucinated an argument or skipped a function call entirely.

Build your first AI Agent in .NET

November 12, 2026 by Anuraj

dotnet ai csharp

In this blog post, we will build your first AI Agent using C#, Microsoft Agent Framework and Azure Foundry. An AI agent is an autonomous software system that perceives information, reasons about goals, and takes actions often using large language models to complete multi‑step tasks on behalf of a user.

Working with Jev from C# and .NET

October 03, 2026 by Anuraj

dotnet ai csharp

Most of us are used to LLMs which take a prompt and return text. Jev, from TypeSafe AI, works differently. It is a System One model - it doesn’t generate text at all. You give it some context (the state) and one or more typed questions, and it returns typed answers with probabilities. Since the answers come back as data, your code can branch on them directly - no parsing of free text, and no prompts like “reply only with one of these words”.

Code Execution Tool for AI Agents with Hyperlight Sandbox

October 02, 2026 by Anuraj

dotnet AI

In this blog post, we will explore how to add a code execution tool to an AI Agent in .NET using Hyperlight Sandbox. Language models are not great at calculations, but they are very good at writing code. So instead of asking the model to do the math, we let it write a small program and execute it. The problem is, we don’t want to run code generated by an LLM directly on our machine. Hyperlight Sandbox solves this by running the code in an isolated sandbox.

Building an MCP App with C#

September 20, 2026 by Anuraj

dotnet mcp csharp

MCP tools are great at returning text and structured data. For many use cases, that’s all you need. But when the task calls for something more dynamic - like a chart, a form, a design canvas, or even a video player - plain text isn’t enough.

Copyright © 2026 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