-
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!
-
Making authenticated cross-origin requests with ASP.NET Core Identity
In this post I describe how to make authenticated cross-origin requests from the browser to an app using ASP.NET Core Identity.…
-
Setting global authorization policies using the DefaultPolicy and the FallbackPolicy in ASP.NET Core 3.x
In this post I show multiple ways to configure global authorization policies, and look at the difference between the DefaultPolicy and the FallbackPolicy…
-
Customising the ASP.NET Core default UI without editing the PageModels
In this post I show how you can replace the Razor views for the ASP.NET Core Identity default UI, without having to replace the code-behind PageModels.…
-
Safely migrating passwords in ASP.NET Core Identity with a custom PasswordHasher
In this post I create a custom IPasswordHasher<> implementation that can be used in ASP.NET Core Identity to migrate from weak hashes like MD5 or SHA1.…
-
Implementing custom token providers for passwordless authentication in ASP.NET Core Identity
In this post I show how to create 2 custom token providers for ASP.NET Core Identity, so that you can implement passwordless login with a short token expiry…
-
Gotchas upgrading from IdentityServer 3 to IdentityServer 4
This post covers a couple of gotchas I experienced upgrading IdentityServer 3 to IdentityServer 4. In particular, changing URLs and a validation problem.…