Tagged "AI"


Block AI Crawlers in ASP.NET Core

How To Block AI Crawlers Like GPTBot and ClaudeBot in ASP.NET Core and IIS

Stop GPTBot, ClaudeBot, PerplexityBot, CCBot and other AI crawlers with robots.txt, ASP.NET Core middleware, or an IIS rule, without blocking Google or Bing.


OpenAI API in C#

Using the OpenAI API in C#: Chat Completions and Responses API

Call the OpenAI API from C# with the official OpenAI NuGet package: Chat Completions, the newer Responses API, streaming, ASP.NET Core DI, and plain HttpClient.

Tagged: AI, C Sharp, ChatGPT