The easiest way to use Ollama in .NET
-
Updated
Mar 24, 2026 - C#
The easiest way to use Ollama in .NET
A minimalistic but extensible chat control library for Windows Forms
Security monitoring middleware for IChatClient (Microsoft.Extensions.AI). 55 detectors for prompt injection, hallucination, PII leakage, and operational anomalies. Intervention engine, embedded dashboard, audit forwarders to Azure Sentinel + OpenTelemetry. Drop-in middleware for any LLM client.
A 60-second check that your .NET AI dev environment works - local (Ollama) + cloud (GitHub Models) via one IChatClient. Companion to the AI-Powered APIs in .NET course.
Add a description, image, and links to the ichatclient topic page so that developers can more easily learn about it.
To associate your repository with the ichatclient topic, visit your repo's landing page and select "manage topics."