site image
Andrew Lock avatar

Andrew Lock

ASP.NET Core
  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 Making ConcurrentDictionary GetOrAdd thread safe using Lazy

    Making ConcurrentDictionary GetOrAdd thread safe using Lazy

    This post explores the GetOrAdd function of ConcurrentDictionary, the level of thread safety it provides, and ways to add additional threading constraints.…

     in  ASP.NET Core Source Code Dive
  5. Banner image for Adding Cache-Control headers to Static Files in ASP.NET Core

    Adding Cache-Control headers to Static Files in ASP.NET Core

    In this post I'll show how you can add caching headers to the files served by the StaticFileMiddleware to increase your site's performance.…

     in  ASP.NET Core Caching Middleware
  6. Banner image for Accessing services when configuring MvcOptions in ASP.NET Core

    Accessing services when configuring MvcOptions in ASP.NET Core

    This post is a follow on to one by Steve Gordon, in which I show a clean way to use configured services when setting up MvcOptions when calling AddMvc.…

  7. 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
  8. Banner image for Modifying the UI based on user authorisation in ASP.NET Core

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

     in  ASP.NET Core Security Auth Front End
  9. Banner image for Custom authorisation policies and requirements in ASP.NET Core

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

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