Ben's Coding Blog: Latest pages in the c genre

When your app starts supporting multiple languages, your resource files can quickly become a mess unless you establish a solid naming convention. more


Interactive diagrams don’t just look good — they tell stories. more


A word cloud isn’t just eye candy—it’s a meaningful way to visualize trends, user behavior, or content emphasis at a glance. Whether you're analyzing tags, keywords, or user-submitted content, a good word cloud can turn raw data into instant i... more


Tag Helpers are one of ASP.NET Core's most elegant features—they allow you to generate HTML using Razor syntax that looks and feels like native HTML. But just because you can use them everywhere doesn't mean you should. more


If you're building a technical site or developer documentation, you already know how important clean, readable code examples are. But integrating syntax highlighting (especially across multiple languages with proper formatting and copy buttons... more


If you’re building a music, download, or content platform with ASP.NET Core, adding structured star ratings (via JSON-LD) helps your content stand out in search results. Not only do ratings improve your credibility — they boost visibility and clic... more


If you've ever wanted to push live updates to users without them refreshing the page—welcome to SignalR. It's built into ASP.NET Core and gives you real-time power with barely any setup. more


🔄 Modernizing a legacy MVC 4 project to ASP.NET Core [version] is no small feat—especially when Identity is involved. If you’ve been through it, you already know. If you haven’t… you're in for a surprise. more


🤯 Making Cloudflare Turnstile CAPTCHAs Work on Multiple Forms (Without Losing Your Mind) Getting Cloudflare Turnstile CAPTCHAs working on a single form is easy. Getting them to work reliably across multiple forms on the same page... more


If you're looking to provide a teaser for premium content—just like platforms such as Substack—you can use a simple, effective method based on a browser cookie check. more


If you're serious about website security, Content Security Policy (CSP) is one of your best defenses against XSS, data injection, and rogue scripts. But how do you know when something's being blocked? more


As your site scales or handles sensitive data, a strong Content Security Policy (CSP) becomes essential—not just for security, but for trust, SEO, and performance. more


🌐 .NET Core 8 Localization — the easy way more


Content Security Policy CS(P) in ASP.NET Core: A Practical Middleware Pattern more


When you're ready to revisit cleaning up your `.csproj`, this efficient step-by-step plan ensures you clean house without removing anything critical. more


Action Arguments in ASP.NET Core: What's Best? more


looking for a freelance web developer? Check out my CV. I guarantee to add value to your website! more