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 Exploring Middleware as MVC Filters in ASP.NET Core 1.1

    Exploring Middleware as MVC Filters in ASP.NET Core 1.1

    Adding a URL culture provider using middleware as filters - Part 1

    This post takes a look at the code behind the 'Middleware as Filters' feature that is coming to ASP.NET Core, looking at how the feature is implemented.…

  5. Banner image for Troubleshooting ASP.NET Core 1.1.0 install problems

    Troubleshooting ASP.NET Core 1.1.0 install problems

    In this post I show how I fixed some issues I encountered when installing the .NET Core 1.1.0 preview 1 SDK. The 1.1.0 RTM is out now, but it still applies!…

     in  ASP.NET Core Installation .NET Core
  6. 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
  7. Banner image for Fixing a bug: when concatenated strings turn into numbers in JavaScript

    Fixing a bug: when concatenated strings turn into numbers in JavaScript

    This is a very quick post about trying to fix a JavaScript bug that plagued me for an hour this morning, when string concatenation started giving me NaNs!…

     in  Front End
  8. Banner image for Using dependency injection in a .Net Core console application

    Using dependency injection in a .Net Core console application

    In this post, I show how to setup dependency injection in a .NET Core console app, both with the ASP.NET Core built-in container and with StructureMap.…

     in  .NET Core Dependency Injection
  9. Banner image for Adding Cache-Control headers to Static Files in ASP.NET Core

    Adding Cache-Control headers to Static Files in ASP.NET Core

    In this post I'll show how you can add caching headers to the files served by the StaticFileMiddleware to increase your site's performance.…

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