site image
Andrew Lock avatar

Andrew Lock

ASP.NET Core
  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 The difference between GetService() and GetRequiredService() in ASP.NET Core

    The difference between GetService() and GetRequiredService() in ASP.NET Core

    This post looks at the GetService() and GetRequiredService() methods of the ASP.NET Core DI container, the difference between them and which you should use…

     in  ASP.NET Core .NET Core Dependency Injection
  5. Banner image for Why isn't my ASP.NET Core environment-specific configuration loading?

    Why isn't my ASP.NET Core environment-specific configuration loading?

    In this post I describe an issue I was having in which my application wouldn't load my appsettings.Development.json file when running in Docker on Linux…

     in  ASP.NET Core Configuration
  6. Banner image for Running smoke tests for ASP.NET Core apps in CI using Docker

    Running smoke tests for ASP.NET Core apps in CI using Docker

    In this post I'll describe how to use Docker to run a smoke test as part of a CI build pipeline to check that an ASP.NET Core app is able to start up…

     in  ASP.NET Core Docker DevOps Testing
  7. Banner image for Adding Segment client-side analytics to an ASP.NET Core application

    Adding Segment client-side analytics to an ASP.NET Core application

    In this post I show how to add the Segment analytics.js library to your ASP.NET Core application using Razor, to give client-side analytics for your app.…

     in  ASP.NET Core Razor Front End
  8. Banner image for Using snake case column names with Dapper and PostgreSQL

    Using snake case column names with Dapper and PostgreSQL

    In this post I describe how to use snake case naming conventions when using Dapper, by using "Schema" utility classes, nameof(), and a ToSnakeCase() method.…

     in  ASP.NET Core PostgreSQL
  9. Banner image for Adding Serilog to the ASP.NET Core Generic Host

    Adding Serilog to the ASP.NET Core Generic Host

    In this post I introduce the Serilog.Extensions.Hosting package, discuss why it's necessary, and describe how to use it to add Serilog to a generic host app…

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