site image
Andrew Lock avatar

Andrew Lock

Routing
  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 Using strongly-typed entity IDs to avoid primitive obsession

    Using strongly-typed entity IDs to avoid primitive obsession

    In this series I describe how to use middleware as an MVC filter to add request localisation to your app.…

  5. Banner image for How to format response data as XML or JSON, based on the request URL in ASP.NET Core

    How to format response data as XML or JSON, based on the request URL in ASP.NET Core

    In this post I'll show how to use the FormatFilter, so that you can specify the output format for an action using a URL suffix, e.g. /api/values.xml as XML.…

  6. Banner image for Using routing DataTokens in ASP.NET Core

    Using routing DataTokens in ASP.NET Core

    This post takes a look at data tokens and how to use them to provide route information in your apps, but generally I recommend avoiding them if you can.…

     in  ASP.NET Core Routing
  7. Banner image for Using a culture constraint and redirecting 404s with the url culture provider

    Using a culture constraint and redirecting 404s with the url culture provider

    Adding a URL culture provider using middleware as filters - Part 4

    In this post, I'll show how we can create a custom route constraint to help prevent invalid route matching, and add additional routes to catch 404 errors.…

  8. Banner image for Adding a URL culture provider using middleware as filters

    Adding a URL culture provider using middleware as filters

    In this series I describe how to use middleware as an MVC filter to add request localisation to your app.…

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