-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
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 previous editions of ASP.NET Core in Action!
-
Creating and trusting a self-signed certificate on Linux for use in Kestrel and ASP.NET Core
In this post I show how to create a self-signed certificate on Linux. I show how you can trust the certificate, and how to configure Kestrel to use it.…
-
Creating a validator to check for common passwords in ASP.NET Core Identity
In this post, I introduce a package for ASP.NET Core Identity that lets you validate a user hasn't used one of the most common 100,000 passwords.…
-
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…