site image
Andrew Lock avatar

Andrew Lock

ASP.NET Core
  1. 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
  2. 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. You even get a free copy of the previous editions of ASP.NET Core in Action!

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

  4. 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 Core Security Razor Pages
  5. 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.…

     in  ASP.NET Core .NET Core 3.0 Routing
  6. Banner image for 5 ways to set the URLs for an ASP.NET Core app

    5 ways to set the URLs for an ASP.NET Core app

    In this post I describe 5 different ways to set which URLs your ASP.NET Core application listens on.…

  7. Banner image for Accessing route values in endpoint middleware in ASP.NET Core 3.0

    Accessing route values in endpoint middleware in ASP.NET Core 3.0

    In this post I describe how you can access the route values from middleware when using endpoint routing in ASP.NET Core 3.0.…

     in  ASP.NET Core .NET Core 3.0 Routing
  8. Banner image for Replacing AJAX calls in Razor Pages with Razor Components and Blazor

    Replacing AJAX calls in Razor Pages with Razor Components and Blazor

    In this post I show how you can get AJAX-like behaviour in your Razor Pages by using Razor Components and Blazor…

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