site image
Andrew Lock avatar

Andrew Lock

MVC
  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 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 7 MVC Razor Pages
  5. 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.…

  6. Banner image for Should you unit-test API/MVC controllers in ASP.NET Core?

    Should you unit-test API/MVC controllers in ASP.NET Core?

    In this post I discuss unit testing of API/MVC controllers in ASP.NET Core and some of the difficulties you face.…

     in  ASP.NET Core Testing MVC
  7. Banner image for When ASP.NET Core can't find your controller: debugging application parts

    When ASP.NET Core can't find your controller: debugging application parts

    In this post I describe application parts, how ASP.NET Core uses them to find the controllers in your app, and how to list them.…

     in  ASP.NET Core Error Handling MVC
  8. Banner image for Creating a not-empty GUID validation attribute and a not-default validation attribute

    Creating a not-empty GUID validation attribute and a not-default validation attribute

    In this post I describe an MVC validation attribute that verifies a GUID doesn't have the default Empty value. I also present a generalised version.…

     in  ASP.NET Core MVC Model Binding
  9. Banner image for Using an IActionFilter to read action method parameter values in ASP.NET Core MVC

    Using an IActionFilter to read action method parameter values in ASP.NET Core MVC

    In this post I shown how you can use an IActionFilter in ASP.NET Core MVC to read the method parameters for an action method before it executes.…

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