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 Consuming anonymous types with DiagnosticListener in .NET 6

    Consuming anonymous types with DiagnosticListener in .NET 6

    In this post I look at how to consume DiagnosticListener events where the object is an anonymous type, and so can't be cast to a named Type.…

     in  ASP.NET Core Logging .NET Core 6
  5. Banner image for A brief introduction to DiagnosticSource

    A brief introduction to DiagnosticSource

    In this post I describe the DiagnosticSource infrastructure, how it compares to other logging APIs, and how to use it to listen to framework events…

     in  ASP.NET Core Logging .NET Core 6
  6. Banner image for Using PathBase with .NET 6's WebApplicationBuilder

    Using PathBase with .NET 6's WebApplicationBuilder

    In this post I describe the difficulties of adding calls to UsePathBase with .NET 6 WebApplication programs, and describe two approaches to work around it…

  7. Banner image for Understanding PathBase in ASP.NET Core

    Understanding PathBase in ASP.NET Core

    In this post I'll describe a lesser-known property on HttpRequest called `PathBase`. I describe what it does, when it's useful, and how to use it.…

     in  .NET Core ASP.NET Core Middleware
  8. Banner image for Reducing the size of a git repository with git-replace

    Reducing the size of a git repository with git-replace

    In this post I show how you can split a git repo into 'current' and 'history' repos, and then join them again using git-replace as necessary…

     in  Git
  9. Banner image for Rewriting git history simply with git-filter-repo

    Rewriting git history simply with git-filter-repo

    In this post I describe how I used git-filter-repo in Docker to rewrite the history of a git repository to move files into a subfolder…

     in  Git Docker
Andrew Lock | .Net Escapades
Want an email when
there's new posts?