site image
Andrew Lock avatar

Andrew Lock

Razor Pages
  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 Adding metadata to fallback endpoints in ASP.NET Core

    Adding metadata to fallback endpoints in ASP.NET Core

    In this post I discuss fallback endpoints and show how adding metadata to MVC or Razor Page fallback endpoints has some quirks to be aware of…

  5. Banner image for Adding client-side validation to ASP.NET Core, without jQuery or unobtrusive validation

    Adding client-side validation to ASP.NET Core, without jQuery or unobtrusive validation

    In this article I describe how to use the aspnet-client-validation library to provide client-side validation instead of relying on jQuery.…

  6. Banner image for 5 new MVC features in .NET 7

    5 new MVC features in .NET 7

    In this post I look at some of the new features introduced for MVC controllers in .NET 7…

     in  ASP.NET Core.NET 7MVCRazor Pages
  7. Banner image for Fighting with nullable reference types in Razor Pages

    Fighting with nullable reference types in Razor Pages

    In this post I discuss C#'s nullable reference types in the context of Razor Pages, why they don't play nicely together and how to improve the experience.…

     in  Razor PagesC#
  8. Banner image for Applying the MVC design pattern to Razor Pages

    Applying the MVC design pattern to Razor Pages

    In this article from my new book we look in greater depth at how the MVC design pattern applies to Razor Pages in ASP.NET Core.…

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

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