Tagged "C Sharp"
Block AI Crawlers in ASP.NET Core
October 28th, 2026
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.
Monero Payments With monero-wallet-rpc in C#
October 28th, 2026
Self-hosted Monero (XMR) payments in ASP.NET Core with a view-only wallet, monero-wallet-rpc, one subaddress per order, and a payment-watching background job.
Monero Payments with NOWPayments in C#
October 28th, 2026
C# guide to the NOWPayments API: create a Monero (XMR) invoice, redirect to invoice_url, and verify x-nowpayments-sig IPN callbacks with HMAC-SHA512.
Custom Caching Tag ASP.NET
January 28th, 2024
Discover how to craft a custom cache tag helper in ASP.NET Core. Seamlessly merge Razor view caching with on-demand expiration for optimal backend performance.
Ignoring Bots by User Agent in C#
October 28th, 2026
Exclude crawlers and bots from logs and analytics in ASP.NET Core by matching user agents against the crawler-user-agents list with one compiled regex.
OpenAI API in C#
October 28th, 2026
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.
Spam Filtering With C#
January 28th, 2024
How to filter spam comment posts using an API and C# in ASP.NET.
Sending Email With MailChimp
November 6th, 2026
How to send email with the Mailchimp API in C#: one-off emails with Mailchimp Transactional, campaigns with the Marketing API, and contact sync. Working code.
AWS Step Functions in C#
January 28th, 2024
Details on what AWS Step Functions are and how they can be used in .NET.
Prevent Sign Out ASP.NET Core 2.0 Deployment
January 28th, 2024
Example code of how to stay signed in after an ASP.NET Core 2.0 deployment to IIS.