site image
Andrew Lock avatar

Andrew Lock

ASP.NET Core
  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  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 Returning XML from minimal APIs in .NET 6

    Returning XML from minimal APIs in .NET 6

    In this post I show how to return an XML response from minimal APIs, how to create a helper extension method, and discuss performance considerations…

  5. Banner image for Understanding your middleware pipeline in .NET 6 with the Middleware Analysis package

    Understanding your middleware pipeline in .NET 6 with the Middleware Analysis package

    In this post I introduce the Microsoft.AspNetCore.MiddlewareAnalysis package and show how to use it to visualise the middleware in your .NET 6 apps.…

  6. 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 CoreLogging.NET Core 6
  7. 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 CoreLogging.NET Core 6
  8. 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…

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

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