Custom Error Pages: Turning 404s Into Teaching Moments
Your visitors hit a 404. Do they see a cold 'Page Not Found' or a delightful learning opportunity? Here's how to make error pages that keep people engaged.
Technical notes, project documentation, and lessons learned across software, DIY, writing, and more.
Your visitors hit a 404. Do they see a cold 'Page Not Found' or a delightful learning opportunity? Here's how to make error pages that keep people engaged.
My wife scored 0.1 on reCAPTCHA. From our couch. On her phone. Here's what Google doesn't tell you about score thresholds and mobile users.
Gmail strips your style tags and overrides your link colors. Here's how we build branded HTML emails that survive every client using inline styles and C# 11...
GDPR says users can request erasure. Most apps flip IsDeleted. We soft delete for referential integrity, then anonymize every piece of PII. The account is gone.
Same codebase, same deployment. API routes use JWT bearer tokens, web routes use cookies. A 10-line policy selector makes them coexist without conflicts.
Ten background services running on a $5/month shared hosting plan. No Hangfire, no Quartz.NET — just BackgroundService, Task.Delay, and smart scheduling.
Tired of ERROR_FILE_IN_USE when deploying to IIS? One file stops your app, releases all locks, and shows users a maintenance page.
You publish your ASP.NET Core app to shared hosting and get 502.5. The error page is useless. The actual fix...
Our entire game runs on a $5/month SmarterASP.NET plan. No Docker, no CI/CD, just MSDeploy and every workaround for shared hosting constraints.
The API threw a NullReferenceException. The client got an HTML error page with a full stack trace. In production.
You wrote a blog post. Now you need to share it on LinkedIn, Twitter, maybe a newsletter. Here's how to automate the boring part.
Most cookie banners are obnoxious because they're trying to get consent for tracking. If you're not tracking anyone, the whole thing gets simpler.
Setting up payment processing is stressful enough without wondering if your webhooks actually work.
You built a beautiful site but Google can't find it. Here's what actually matters for SEO—meta tags, structured data...
No database, no CMS, no admin panel. Just Markdown files, a JSON registry, and a thin C# service.
Your translations work, but users have to dig through browser settings to change languages. Let's build a dropdown that remembers their choice with cookies.
You set up localization, created the .resx files, it compiled... and then nothing happened. Here's why .NET silently ignores your translations and how to...
Adding invisible bot protection to a contact form with Google reCAPTCHA v3 and a honeypot field - no puzzles, no friction, no spam.