My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback. You even get a free copy of the first edition of ASP.NET Core in Action!
In this post I show how to update the default Razor layouts to load CSS and JS files from a CDN, and how to configure local fallbacks with SRI protection.…
In this post I show a simple way to obfuscate email addresses to make it harder for bots to scrape them from your site, similar to Cloudflare Scrape Shield.…
In this post I show how to use [email protected] with a statically hosted site to intercept invalid requests caused by client-side routing and return index.html…
I recently added a dark mode to my blog. Here's how you can enable it, how I implemented it, and what's currently missing!…
In this post I show how to add the Segment analytics.js library to your ASP.NET Core application using Razor, to give client-side analytics for your app.…
In this post, I create a simple tag helper to conditionally render content in a Razor page, equivalent to adding an @if statement to standard Razor.…
Stay up to the date with the latest posts!