site image
Andrew Lock avatar

Andrew Lock

.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 Understanding Lazy<T> thread safety modes

    Understanding Lazy<T> thread safety modes

    In this post I look at how the different `LazyThreadSafetyMode` values work with `Lazy<T>`, and how exceptions are handled for each mode…

     in  .NET Core
  5. Banner image for An introduction to Compact Binary Object Representation (CBOR) in .NET

    An introduction to Compact Binary Object Representation (CBOR) in .NET

    In this post I introduce CBOR as a JSON alternative, and show how to use the System.Formats.Cbor NuGet package to read and write CBOR encoded data…

     in  .NET Core
  6. Banner image for Stripping extra dependencies in .NET NativeAOT apps using linker substitutions

    Stripping extra dependencies in .NET NativeAOT apps using linker substitutions

    In this post I describe how to perform method-substitutions with the NativeAOT linker to remove additional dependencies that the linker couldn't see were unused…

     in  .NET CoreObservability
  7. Banner image for Finding the total number of processors on a machine with .NET

    Finding the total number of processors on a machine with .NET

    In this post I show how to find the total number of logical CPUs on a host (not just those available to a process); something that isn't exposed in modern .NET…

     in  .NET CoreObservability
  8. Banner image for Configuring contextual options with Microsoft.Extensions.Options.Contextual

    Configuring contextual options with Microsoft.Extensions.Options.Contextual

    In this post I take a brief look at the Microsoft.Extensions.Options.Contextual package to understand what it's for, how to use it, and whether to use it or not…

     in  Configuration.NET Core
  9. Banner image for Splitting the NetEscapades.EnumGenerators packages: the road to a stable release

    Splitting the NetEscapades.EnumGenerators packages: the road to a stable release

    In this post I describe the recent architectural changes to the NetEscapades.EnumGenerators package, which is now a metapackage, to support more scenarios…

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