site image
Andrew Lock avatar

Andrew Lock

Source Code Dive
  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 A look behind the  JWT bearer authentication middleware in ASP.NET Core

    A look behind the JWT bearer authentication middleware in ASP.NET Core

    In this post we look at the JwtBearerAuthenticationMiddleware as a means to understanding authentication in ASP.NET Core in general.…

     in  ASP.NET Core Security Auth Source Code Dive
  6. Banner image for Exploring the cookie authentication middleware in ASP.NET Core

    Exploring the cookie authentication middleware in ASP.NET Core

    In this post I go into detail about how AuthenticationMiddleware is implemented in ASP.NET Core, using the CookieAuthenticationMiddleware as a case study.…

     in  ASP.NET Core Source Code Dive Auth Security
  7. Banner image for A deep dive into the ASP.NET Core CORS library

    A deep dive into the ASP.NET Core CORS library

    In this post I'm going to dive in to the code of the MVC Cors library, looking at some of the patterns the ASP.NET Core team have used in their infrastructure.…

     in  ASP.NET Core CORS Source Code Dive
Andrew Lock | .Net Escapades
Want an email when
there's new posts?