site image
Andrew Lock avatar

Andrew Lock

Auth
  1. Loading...
  2. 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"!

    From Zero to Hero: REST APIs in .NET
  3. ASP.NET Core in Action, Third Edition

    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.

  4. Banner image for Adding authentication to a Blazor Server app using Auth0

    Adding authentication to a Blazor Server app using Auth0

    In this post I show how to add authentication to a Blazor Server application using Auth0.…

     in  Blazor Auth ASP.NET Core
  5. Banner image for Setting global authorization policies using the DefaultPolicy and the FallbackPolicy in ASP.NET Core 3.x

    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…

  6. Banner image for Customising the ASP.NET Core default UI without editing the PageModels

    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.…

  7. Banner image for Implementing custom token providers for passwordless authentication in ASP.NET Core Identity

    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…

  8. Banner image for Gotchas upgrading from IdentityServer 3 to IdentityServer 4

    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.…

  9. Banner image for Resource-based authorisation in ASP.NET Core

    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…

     in  ASP.NET Core Auth Security
Andrew Lock | .Net Escapades
Want an email when
there's new posts?