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 Strongly-typed ID update 0.2.1

    Strongly-typed ID update 0.2.1

    Using strongly-typed entity IDs to avoid primitive obsession - Part 6

    In this post I describe some updates to the Roslyn-powered code generation library that auto-generate. strongly-typed IDs for you.…

     in  ASP.NET Core
  5. Banner image for Handling Web API Exceptions with ProblemDetails middleware

    Handling Web API Exceptions with ProblemDetails middleware

    In this post I describe the ProblemDetailsMiddleware by Kristian Hellang that can be used to return ProblemDetails when an exception occurs in an API project.…

  6. Banner image for Extending the shutdown timeout setting to ensure graceful IHostedService shutdown

    Extending the shutdown timeout setting to ensure graceful IHostedService shutdown

    In this post I describe a problem where you get an exception when shutting down an app that used IHostedService, when the service takes too long to shut down.…

  7. Banner image for Using jQuery and Bootstrap from a CDN with fallback scripts in ASP.NET Core 3.0

    Using jQuery and Bootstrap from a CDN with fallback scripts in ASP.NET Core 3.0

    In this post I show how to update the default Razor layouts to load CSS and JS files from a CDN, and how to configure local fallbacks with SRI protection.…

  8. Banner image for Preventing mass assignment or over posting with Razor Pages in ASP.NET Core

    Preventing mass assignment or over posting with Razor Pages in ASP.NET Core

    Mass assignment or over-posting is something to bear in mind when building ASP.NET Core apps. In this post I discuss how to stay safe when using Razor Pages.…

     in  ASP.NET CoreSecurityRazor Pages
  9. Banner image for How to automatically choose a free port in ASP.NET Core 3.0

    How to automatically choose a free port in ASP.NET Core 3.0

    In this post I show how to tell ASP.NET Core to use a random free port on startup, instead of a static value. I also show how to retrieve the value.…

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