site image
Andrew Lock avatar

Andrew Lock

  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 Debugging JWT validation problems between an OWIN app and IdentityServer4

    Debugging JWT validation problems between an OWIN app and IdentityServer4

    This post describes an issue that arose migrating from IdentityServer3 to IdentityServer4, where an OWIN app cannot validate a JWT issued by IdentityServer4…

  5. Banner image for Creating and trusting a self-signed certificate on Linux for use in Kestrel and ASP.NET Core

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

     in  ASP.NET Core ASP.NET Core 2.0 Security
  6. Banner image for Using anonymous types and tuples to attach correlation IDs to scope state with Serilog and Seq in ASP.NET Core

    Using anonymous types and tuples to attach correlation IDs to scope state with Serilog and Seq in ASP.NET Core

    In this post I describe two extension methods that make logging scopes as key-value pairs nicer in ASP.NET Core, by using anonymous types and tuples.…

     in  ASP.NET Core ASP.NET Core 2.0 Logging C#
  7. Banner image for Creating an extension method for attaching key-value pairs to scope state using ASP.NET Core

    Creating an extension method for attaching key-value pairs to scope state using ASP.NET Core

    In this post I describe a small extension method that makes logging scopes as key-value pairs in ASP.NET Core with Serilog and Seq a little nicer.…

     in  ASP.NET Core ASP.NET Core 2.0 Logging
  8. Banner image for How to include scopes when logging exceptions in ASP.NET Core

    How to include scopes when logging exceptions in ASP.NET Core

    In this post I introduce the concept of scopes in ASP.NET Core, how exceptions can cause you to lose a scope, and how to get round this using a neat trick.…

     in  ASP.NET Core 2.0 ASP.NET Core Logging
  9. Banner image for Creating a rolling file logging provider for ASP.NET Core 2.0

    Creating a rolling file logging provider for ASP.NET Core 2.0

    In this post I'll show how to create an ILoggingProvider for ASP.NET Core that writes logs to the file system, based on the Azure App Service provider.…

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