- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

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.

Creating custom password validators for ASP.NET Core Identity
In this post, I describe the password validation settings for ASP.NET Core Identity, how to customise them, and how to write a custom password validator.…

Automatically validating anti-forgery tokens in ASP.NET Core with the AutoValidateAntiforgeryTokenAttribute
This post shows how to apply the AutoValidateAntiforgeryTokenAttribute globally to automatically protect all dangerous action methods from CSRF attacks.…

Preventing mass assignment or over posting in ASP.NET Core
Mass assignment or over-posting is something to bear in mind when building ASP.NET Core applications. In this post, I discuss some of the ways to stay safe.…

Resource-based authorisation in ASP.NET Core
In this next post on authorisation in ASP.NET Core I show how you can secure resources based on properties of the resource itself…

Modifying the UI based on user authorisation in ASP.NET Core
In this post I show how to modify the UI you present based on the authorisation level of the current user, to hide links the user is not allowed to access.…

Custom authorisation policies and requirements in ASP.NET Core
In this post on authorisation in ASP.NET Core, we look at creating policies with multiple requirements, custom requirements and applying a global policy.…

