site image
Andrew Lock avatar

Andrew Lock

  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 Adding favicons to your ASP.NET Core website with Real Favicon Generator

    Adding favicons to your ASP.NET Core website with Real Favicon Generator

    In this post I will show how you can add favicons to your ASP.NET Core MVC application, using the website RealFaviconGenerator.net.…

     in  ASP.NET Core Front End
  5. Banner image for Retrieving the path that generated an error with the StatusCodePages Middleware

    Retrieving the path that generated an error with the StatusCodePages Middleware

    In this post, I show how you can obtain the original path that triggered an error status code when using the StatusCodePagesMiddleware's re-execute feature.…

     in  ASP.NET Core Middleware Error Handling
  6. Banner image for Re-execute the middleware pipeline with the StatusCodePages Middleware to create custom error pages

    Re-execute the middleware pipeline with the StatusCodePages Middleware to create custom error pages

    In this post I show how to create custom error pages with the StatusCodePagesMiddleware by re-executing the middleware pipeline.…

     in  ASP.NET Core Middleware Error Handling
  7. Banner image for Deconstructors for non-tuple types in C# 7.0

    Deconstructors for non-tuple types in C# 7.0

    This post takes a look at how to deconstruct non-tuple types in C# 7. Also, learn how to fix the Predefined type 'System.ValueTuple`2' is not defined error.…

     in  C#
  8. Banner image for Preventing mass assignment or over posting in ASP.NET Core

    Preventing mass assignment or over posting in ASP.NET Core

    Mass assignment or over-posting is something to bear in mind when building ASP.NET Core applications. In this post, I discuss some of the ways to stay safe.…

     in  ASP.NET Core Security
  9. Banner image for Git integration improvements in Visual Studio 2017 - git-hooks

    Git integration improvements in Visual Studio 2017 - git-hooks

    VS 2017 includes a number of improvements to git integration. In this post I show how you can use git-hooks to validate your commit message format.…

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