Welcome to Ryan Williams' Developer Blog
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.
Keeping IIS Sites Alive With PowerShell
November 6th, 2026
Fix slow first requests on IIS: AlwaysRunning, Idle Time-out 0, Preload and Application Initialization, the HTTP keep-alive settings, and a warm-up task.
Spam Filtering With C#
January 28th, 2024
How to filter spam comment posts using an API and C# in ASP.NET.
DappCamp - Web 3.0 Developer Solidity Course
January 28th, 2024
DappCamp: Transform into a Web 3.0 Developer in just 3 weeks. Dive into my comprehensive review of the Solidity course.
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.
SQL Express Database Backups in SQL Server
November 6th, 2026
SQL Server Express has no SQL Agent. Automate daily backups of every database with sp_BackupDatabases, sqlcmd, a batch or PowerShell script, and Task Scheduler.
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.