The easiest way to use Ollama in .NET
-
Updated
Sep 25, 2025 - C#
The easiest way to use Ollama in .NET
MCPSharp is a .NET library that helps you build Model Context Protocol (MCP) servers and clients - the standardized API protocol used by AI assistants and models.
Building GenAI Apps in C#: AI Templates, GitHub Models, Azure OpenAI & More
This provides sample codes that uses Microsoft.Extensions.AI for locally running LLMs through Docker Model Runner, Foundry Local, Hugging Face and Ollama
.NET is also capable of building AI infused app really easily. This repository provides several sample apps using Microsoft.Extensions.AI, Azure AI Foundry, Foundry Local and MCP server/client.
A sample application demonstrating AWSSDK.Extensions.Bedrock.MEAI
A tiny .NET console app that let's you chat with a local gpt-oss-20b AI model.
Add a description, image, and links to the microsoft-extensions-ai topic page so that developers can more easily learn about it.
To associate your repository with the microsoft-extensions-ai topic, visit your repo's landing page and select "manage topics."