Blog

Blog posts on .NET, Azure, and more.

Building a Server-Sent Events (SSE) MCP Server with ASPNET Core

April 27, 2025 by Anuraj

dotnet AI MCP

In this blog post, we will learn how to implement MCP SSE servers using ASP.NET Core. The Model Context Protocol (MCP) is a new protocol that allows developers to create and manage context for AI models. It provides a way to define the context in which an AI model operates, making it easier to build applications that leverage AI capabilities.

Create API documentation with Scalar

April 07, 2025 by Anuraj

dotnet webapi

n this blog post, we’ll explore how to document your ASP.NET Core Web API using Scalar. In March 2024, the ASP.NET Core team announced the removal of the Swashbuckle.AspNetCore dependency from web templates starting with .NET 9 – GitHub Issue. As a replacement, Microsoft introduced a new package, Microsoft.AspNetCore.OpenApi, which provides built-in OpenAPI document generation similar to Swagger. However, it currently lacks a bundled UI. While you can still use Swagger UI, it’s no longer included in the templates by default. In this post, we’ll use Scalar as an alternative UI. Scalar offers a modern, visually appealing interface that makes it easy for developers to navigate and test APIs efficiently.

Building MCP Servers for your APIs with .NET and C#

April 01, 2025 by Anuraj

dotnet AI MCP

In this blog post, we’ll learn how to implement MCP servers for your APIs with .NET and C#. In my last blog post, I briefly mentioned about MCP - MCP is like a special rule book that helps AI programs understand information better. Imagine it like a USB-C port on your tablet or laptop. Just like USB-C lets you plug in chargers, headphones, or other devices easily, MCP helps AI connect to different sources of information in a simple and organized way. Learn more about MCP here. With partnership with Anthropic Team, Microsoft is building a C# SDK for MCP - Official blog post available here. We will be using this SDK to build the MCP server.

Integrating Model Context Protocol Tools with Semantic Kernel

March 31, 2025 by Anuraj

dotnet AI SemanticKernel MCP

In this blog post, we’ll learn about Model Context Protocol (MCP) and how we can integrate Model Context Protocol Tools with Semantic Kernel. MCP is like a special rule book that helps AI programs understand information better. Imagine it like a USB-C port on your tablet or laptop. Just like USB-C lets you plug in chargers, headphones, or other devices easily, MCP helps AI connect to different sources of information in a simple and organized way. Learn more about MCP here. MCP will help our agents with external systems like GitHub or any other MCP servers available. We can get the list of MCP servers from here. In this demo I will be using Everything MCP server. It is an example MCP server for demo purposes.

Enhancing AI Agents with Open API Integrations

March 30, 2025 by Anuraj

dotnet AI SemanticKernel

In this blog post, we’ll learn how to empower the AI agents with Tools. We will learn how to use Open API specification as a tool. For the demo, I created a Web API project - Story publishing API. Here is the Web API code.

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