Learn how to implement policy-based authorization in ASP.NET Core using custom policies, requirements, and handlers. This guide explains how to apply fine-grained access control across controllers, Razor Pages, and endpoints, enabling more flexible and secure authorization strategies for modern web applications.
Category: general
Use WordPress API to get postmeta
Recently I was asked how to use WordPress API to get postmeta. The goal was to feed a tooltip in an independent web app related to the online user guide. Sounds simple, right ? Well… not that much ! Approach Turns out there’s no native WordPress API to get postmeta endpoint, and by default, postmeta isn’t included in the WordPress…
c# fire and forget
Fire-and-forget in C# lets async methods run independently, but improper handling can cause unobserved exceptions. Learn how to implement safe fire-and-forget using best practices and the AsyncAwaitBestPractices NuGet package to improve reliability and prevent crashes in your applications.